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.

DWG exports into SketchUp

Started by minstrel, October 04, 2012, 12:51:20 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

minstrel

Here's an issue that just cropped up and I'm not certain if it's a DCAD issue
or SketchUp issue.

Used a simple rectangle with .01 fillet corners then 'sweeped on curve' which
renders fine in DCAD.  Export to DWG and opened in SketchUp results a slew of 'degenerated faces'!
This is the first time any of my DCAD exports had such 'missing faces' failures. 

So, has anyone experienced this and hopefully has a solution?

Thanks,
Minstrel

...oh, using DCAD22 and SketchUp7 Pro [perhaps theres no probs in ver8?]

prl

Minstrel,

I tried your drawing.  Worked for me although when I pulled it up in SketchUp the frame was 50+ feet long. Attached is a graphic before smoothing it in SU.  I'm guessing some sort of data resolution issue upon importing. Try some of the other SketchUp import units settings.

Your model also highlights the need to control the number of points you use for profiles and sweeping around curves. Currently your DesignCAD drawing has about 128 entities because DesignCAD is using grids.  If you select your solid and explode it, it will turn into over 18,000 surfaces which is what SketchUp sees. SketchUp reports 18,258 faces and 36,856 edges.  This high facet count will bring both DesignCAD and SketchUP to its knees.

Hope this helps.  Your making interesting things!

minstrel

#2
Thanks PRL for looking into this....

Actually, the original 'frame' in my DCAD file is 60.25cm...so this got me thinking.  Why not scale my model x3 and see what it does.  Well, it imported into SketchUp nearly perfect [just a few broken faces].  So the size, in this case, was a factor.

Quote from: prl on October 04, 2012, 05:16:54 AM
Your model also highlights the need to control the number of points you use for profiles and sweeping around curves.

Yea...I hear ya.  This is a major cause of frustration with all my curves/arcs.  I just must be missing a key
factor 'cause I can easily reduce the points on the curves yet with I combine them  (B) with other lines all the original points return...huh?  So this is a weak area for me at the moment.

Minstrel

prl

#3
Quote from: minstrel on October 04, 2012, 06:14:42 AM
I just must be missing a key factor 'cause I can easily reduce the points on the curves yet with I combine them  (B) with other lines all the original points return...huh?

Minstrel, the key is never to combine lines and any form of true curves, true circles or partial circles (arcs). The minute you combine anything with a curve or arc, DesignCAD vector converts the curves and arcs into many many segments and then combines that result with the remaining lines.

If you combine lines and segmented vector curves, the number of points you used to create the segmented corner will remain the same.  This implies you must first fiddle with each curve, circle, arc individually before combining.  The collective strategy is to do this on a duplicate set of lines and curves off to the side or in a separate profile drawing.  My approach is to use the segit.d3m macro on filleted corners, arcs, curves, etc.  See the other topic with the rounded over corners discussion.

Edit:  I should also add, DesignCAD has many ways to do most things.  If you have a curve with 9 control points and you want a segmented curve with 9 points, under the edit menu you have a curve to line command, and also one for going the other way (line to curve).  Experiment with these too.

minstrel

Many thanks PRL,

You led me down the right pathway...

Minstrel

prl

Quote from: minstrel on October 04, 2012, 09:03:15 AM
You led me down the right pathway...

You're posting some great questions and nice graphics that will help others too.  In the spirit of the DabbLar's great step by step instructions, here's my humble gif slide show.

prl

Minstrel, your jpg prompted me to research the Twilight renderer.  Nice.  Using DesignCAD, SketchUP and Twilight looks to offer a powerful modeling toolbox.  I'm looking forward to seeing more.

I appreciate the pointer.

minstrel

prl: regarding 'segmented corners.gif / segit.d3m

Not quite getting this...
1. I draw a box [2D] on layer 1.
2. Fillet the corners.
3. Select all. Inspect - de-select.
4. Run 'segit.d3m' set point at corner - specify segments.
5. Overlayed segements placed on layer 2.
6. ?? here comes the confusion??  I can see layers 1 & 2 are occupied.  Nice.  I am now in layer 2 and select all, hit B to combine....oops all original curve segement re-appear??

Could you clarify step 6 just a bit further?

Quote from: prl on October 04, 2012, 02:52:52 PM
Using DesignCAD, SketchUP and Twilight looks to offer a powerful modeling toolbox.

Yea man, that's quite a combo!  Pity IMSI 'dropped the ball' [after ver18] with their efforts to get their 'IDX Renditioner' to play nicely with DCAD.  Yet, I found other options which, in the end, work better than I could have hoped for. 

All my designs are done in DCAD...exported to SketchUp [further munipulation and composition] then rendered in 'Twilight'  -  Sweet.

Attached a few 'rough' organic design I made in DCAD that were rendered with minimal/default settings.
[hint to 'newDCADer's': perfect way to learn/study the program] 

Enjoy!
Minstrel

prl

Quote from: minstrel on October 05, 2012, 12:20:49 AM
Not quite getting this...
6. ?? here comes the confusion??  I can see layers 1 & 2 are occupied.  Nice.  I am now in layer 2 and select all, hit B to combine....oops all original curve segement re-appear??

Yes, I forgot to say that before you do the combine, you should select the original curve, corner, arc, whatever and put it on a spare layer and turn that layer off.  The intent is to keep your original curves as templates.  Later on you may find you want to increase or decrease the number of segments in your curves and arcs and it helps to still have the original around somewhere.

minstrel

Thanks for further instructs, prl, yet still no joy on this one.

All seems to go well but further inspection shows the 'segmented copy' is not being placed on layer 2.
At the close of the script it indeeds jumps to layer 2, but it is empty.

I redownloaded and tried 'segit.d3m' from the 'rounded box' thread just in case....no change.

I appreciate all your time and effort with this stuff! Especially with the macros....

Minstrel

prl

#10
Quote from: minstrel on October 05, 2012, 02:40:48 AM
All seems to go well but further inspection shows the 'segmented copy' is not being placed on layer 2.
At the close of the script it indeeds jumps to layer 2, but it is empty.

Try this.  Zoom in and select the segmented curve.  Open the infobox and see what layer it is on.  Let me know where it went.   Version 22 has a bug in the layer dialog command.  Sometimes it isn't updating.  It may be there but DesignCAD thinks the layer is still empty.

Edit:  Also the script doesn't check all the various layer states so layer 2 has to be visible and not locked for editing.

minstrel

Well, after a fresh start of DCAD, the segmented lines are correctly placed on layer 2. 

Yet, a new 'wacky' result now appears...the original curve [layer 1] is also segmented?  I don't think that what's expected.

Prl, I sure I'm just mucky up the waters here,  so I'll keep working it till I get it.
This will be an excellent macro when I get it sorted out.

Thanks again,
Minstrel



prl

#12
Once you figure it out, let me know. This is one of my in-house (I know what I want) routines so I don't do any error trapping or user input guarding. May help someone else.

One thing though, if you are still getting the original line as segmented, try this.  Right after the macro finishes, there is an original copy of the curve on the clipboard.  That's how I am protecting it.  Do a normal paste somewhere else in the drawing and look at this pasted curve.  If this pasted original curve is segmented, it means you segmented an already segmented curve. How's that for confusing.