News:

Please note new Forum URL: forum.designcad.com

Main Menu
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.

dxf export

Started by Garry K, December 30, 2012, 08:19:40 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Garry K

I'm fairly disappointed with DC 22 3D rendering - so I'm seeing what I can do with free Sketchup 7 plus the dwg importer.

I create a drawing with 6 cabinets, counters doors etc and export as dxf or dwg ( doesn't seem to make a difference ) and import into SU. All of the solid parts show up as individual faces.

Is there a way to modify the DC drawing prior to export to help organize the various parts better? I have tried groups but it doesn't seem to help. I have used 2 of the colors to differentiate layer and cabinet #.

Having 1000's of faces in SU doesn't seem to be very productive.

prl

#1
Quote from: Garry K on December 30, 2012, 08:19:40 AM
Is there a way to modify the DC drawing prior to export to help organize the various parts better?

Garry,

Minstrel and I are exploring this topic to get a better understanding of what is and isn't possible.  So far if you take all your DesignCAD solids and define them as blocks (keep the original solids someplace safe), and export only the blocks, they will import into SketchUp as SU components in the entity color used in DesignCAD.

A sticking point (for me) is the appropriate handle location when defining the DesignCAD blocks.  Works well with circular arrays but often times creates odd exports when other assemblies are exported.

Another sticking point is don't go too deep with nested blocks.  One or two levels works then things fall away. Just for reference, a one level block contains NO other blocks, just normal  DesignCAD entities.  In your case, just solids.

Experiment and let us know what you discover/learn.

Garry K

I'm not worried about keeping the original drawing - as I have a C++ program that generates the cabinets. Essentially I get DC to draw the entire kitchen in about 10 seconds.

Starting with a single cabinet.

I defined each solid as a block. In the case of a 5 piece door I defined each piece as a separate block and then all 5 together as a block.

Perhaps this is a DC bug - but - the blocks did not retain their spatial positioning very well. Some blocks were close but the majority of them looked more like a drawing of exploded parts. I'm assuming this is what you meant about trying to get an appropriate handle.


minstrel

#3
Hi Garry,

As prl mentions, there's quite a bit of information already available on the subject of 'blocks' and the link between SketchUp and DesignCAD... [be sure to see my latest 'ScreenCast' http://forum.designcad.com/index.php?topic=4736.0]...plus seach the forum.

Best way to approach this is to see "Blocks" as created within DesignCAD the same as "Components" created in SketchUp. 

As long as you restrain youself from implementing multiple 'nested' blocks [more testing needed here]
you should be pleasantly surprised with the results and renders you gain with SketchUP.

Minstrel

edit - Garry...you just posted again while I was writing....key - be sure you watch my ScreenCast and place your 'handles' properly.  And if you can, upload the DCAD drawing....I'll [we'll] take a peek at it! ;D


Garry K

No groups, No block nesting. I do have layers.

Does not import into SU very well

minstrel

Garry,

I took a look at your file...it indeed imported 'badly' into SketchUp.

Since this response is all about 'blocks, nested blocks, and their 'import/export' issues, I answered your
post in more detail on the new thread started today.
Link:http://forum.designcad.com/index.php?topic=4736.msg29581#msg29581

So check it out and please respond there if the responses is about blocks and things...thanks.

Minstrel

MarkX

TurboCad knows how to import DCD and export SketchUp.

I used it to do this translation, and then added some materials until I got bored.

Its not too bad. There's probably a SketchUp macro that would apply the material. It might be that if you texture wrapped in DC it would carry all the way into SU.

Mark


Dean

#7
"Is there a way to modify the DC drawing prior to export to help organize the various parts better? I have tried groups but it doesn't seem to help. I have used 2 of the colors to differentiate layer and cabinet #."


Hopefully the pictures will explain it,which might help you. What you see are blocks I created in design cad and exported into sketch up pro. I know it's a simple drawing but the results are the same for more complicated drawings. Each drawing needs to be approached differently. As you see all layers with assigned colors imported. The blocks from Dcad are seen in the "in model" components window.
DesignCad 3D max 2021
Lenovo 17.3"Laptop Intel(R) Core(TM) i7-9750H CPU @ 2.6GHz/Turbo boost 6 cores 12 threads.16GB memory.SSD 256GB/HDD 1TB 7200 Rpm.Nvidia Graphics GeForce GTX 1660 Ti 6GB
Windows 10 Home 64 bit

minstrel

Quote from: Dean on December 30, 2012, 05:31:08 PM
As you see all layers with assigned colors imported. The blocks from Dcad are seen in the "in model" components window.

Now you understand why I place a high 'priority' on properly working with and understanding blocks in DesignCAD.

FACT: DCAD 'blocks' = SketchUp 'components' [and vica-versa!!!]

Now take it to the next level of control. 
Open one of your drawings in SketchUP...then to 'Windows/Outliner'.
Within the 'Outliner' you again see an overview of the entire drawing.

This along with the 'Layers' & 'Components' windows allows you to do just about anything with each component regardless of how it was introduced into SkechUp!

Good report; keep at it!

Minstrel