DesignCAD 3D Max 2027 box
Now available

DesignCAD 2027

Hatches that follow their boundaries, an on-screen dial to turn your model, and a way to find any command by name, in a clean Windows 11 look.

more on exporting solids to Sketchup

Started by adriank, April 28, 2016, 11:46:32 PM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

Adrian 2.0

I've been frequently having problems finding that my solids are full of holes when I export them. This usually happens when I've done a solid subtract on a complex solid with mesh grid faces, which break up into triangular flat planes after the subtract.

Now I think I've worked out the problem, and it has to do with DCad not exporting to the proper scale. I'm not sure if this is DCad's error in exporting or Sketchup's error reading the scale, but the drawings are always scaled in inches in Sketchup.
I do all my drawing in 'metres' usually in a drawing scaled in metres but sometimes in a 'unitless' drawing. In both cases the scale changes on export to SKP.

From a drawing set in metres, an object that scales 0.1metre (100mm) scales 0.025" in Sketchup.
From a 'unitless' drawing, an object scaling 0.1 units (metres) measures 0.1" in Sketchup.

Basically... reeely small. It is easy to rescale a drawing in Sketchup, which I then do, but by then the damage is done - some of the smallest face edges on my DCad drawing measure less than 1mm after a solid slice operation which then measures 0.00025" which is smaller than Sketchup can handle so it ignores the whole face - which stays gone when I resize the drawing back to scale.

There is a workaround, which is to resize my drawing in DCad first (I resize it so 1 metre is actually 1000 metres) then it displays relatively close to the right size in Sketchup & I resize it again to get it reading in metres instead of inches.

It'd be nice if a metric drawing stayed the same size on export!

Dr PR

adrian,

This is interesting. The unitless DCAD drawing is rescaled in inches in the Sketchup import. This makes sense to me.

As I understand it DesignCAD ALWAYS uses a unitless "drawing unit" internally. When we apply a "unit" type (inches, meters, etc.) to a drawing the program still uses the internal "drawing unit" but it scales any display of dimensions so they appear to be in the assigned units. So, internally, the meters/foot drawings are still in drawing units.

When the drawing is exported it is still in unitless drawing units. The units scale factor is included in some export types (DXF, DWG, etc.) but apparently Sketchup does not get a measurement unit in DCAD exports so all drawings are unitless and measured in inches.

When you rescale a drawing in Sketchup do you do this by assigning a measurement unit to the drawing, or just scale it my multiplying be the appropriate number?

I am not familiar with Sketchup, so I don't know if you can assign measurement units in that program. Also, I don't know if the Sketchup drawing file format allows a measurement unit to be saved with the  drawing. If it does, then the DesignCAD Sketchup export routines should incorporate the DCAD drawing units into the Sketchup file.

Also, it would be nice if the DCAD export routines checked the size of the smallest facets and reported if these are too small and will result in lost accuracy in Sketchup.

Phil
DesignCAD user since 1987

Bob P


Adrian 2.0

Hi Phil
The process to rescale is quite easy - I use the 'tapemeasure' tool to measure a line, then simply type in the measurement I want.
If the measurement is 3''  I simply type '3m'.

Easy when the exported drawing was unitless, but when it was drawn in metres I have to go back to the cad model to check the true length as it measures  0.076'', not 3''

Rob S

Historically, designcad has treated a unitless drawing as being drawn in feet.

This is evidenced by the fact if you place an inch mark (double quote) after a number in a dialog boxin such a drawing, it gets divided by 12, and if you place a foot mark (single quote) after it, it stays as it is.

Sketchup is probably trained to import autocad dwg or dxf files, which are customarily drawn in inch units.

Thus Designcad should really adapt to these realities and scale up a unitless drawing or an imperial drawing by a factor of 12 in the export.

Metric is a crapshoot, we'll have to play by whatever works
User since forever

Lar

Adrian, if exporting via dxf, 1 unit (feet, inch, meters, miles, whatever...) in dcad equals 1 inch in dxf, so change dcad's units to inch before exporting dxf (and always activate 'rescale to new units').

Lar