Segmented Curves
-
SUp's 3D DXF Export and 3D DWG Export gives Arcs as 'Arcs', Circles as 'Circles', BUT all Scaled Circles/Arcs and any other Curves [2D or 3D] as '3D Polylines' which then have the same number of segments as they did in SUp - making their segment-count more important...
-
Just tried doing that 3d.dxf, is this how you do it?
OK, can't upload dxf's
-
Try zipping it.
-
Yeah has been ages! Seems I'm a lurker these days.
TIG! too much info .. I know about adding segments, but I'm trying to get away from segments as we need to sand them out.
trying to understand about that 3D.dxf. Are you saying that makes true curves? How do you do that? File>Export> 3D Model.dxf?
So there isn't a program that would take my dxf/whatever files exported from SUp, and make all the curves true?
Is there any way to turn off those stupid smileys on the right when you're typing a reply!? >
-
Naw, just looked at it with DWG Truevue 2010 and it has segments, matter of fact it has extra lines too.
The curved rafter end had maybe 40 segments in SUp, in that dxf it only have a few.
-
@joe wood said:
Yeah has been ages! Seems I'm a lurker these days.
TIG! too much info .. I know about adding segments, but I'm trying to get away from segments as we need to sand them out.
trying to understand about that 3D.dxf. Are you saying that makes true curves? How do you do that? File>Export> 3D Model.dxf?
So there isn't a program that would make all the curves true?
Is there any way to turn off those stupid smileys on the right when you're typing a reply!? >In reverse order...
Smileys are there for the duration.
You can't make all Exported Curves true - you must just make them VERY segmented.
If you Export it as a 3D DXF [done just as you say, but remember to check/set the export 'options' pop-out on the dialog, just the once to get them right]: then any 2D Arcs appear as true Arcs in the DXF, BUT other Scaled Arcs and Curve types are Exported as Polylines, so the segmentation is much more important there...
You won't need 'to sand them out' IF you make the number of segments very large [the shape's sides will become so small that they'll merge into what is effectively a 'curve'] - use my formula and work out how many segments make 0.1" (or maybe even less!) for a range of typical radii - then you'll have a crib sheet to set the number of segments to a reasonable number................I see from intervening msgs that you are having problems... Are you exporting a 2D version of the rafters as 3D DXFs ?
-
This is what I've been doing. My rafter templates I make 2D, I get in the Front View, perspective off, then File> Export >2D Graphic> dxf.
In that dxf I posted, I did Export> 3D Model> dxf
In this skp, I added a bunch of segments to the bottom edges, and the curved rafter end. I didn't add more segments to the top edges because those aren't seen and don't need to sand those.
The curved rafter ends I made with 40 segments, end points are ~ 1/4" apart. I bet I should make even more. Sorry I'm not sure yet how to use that formula.
-
@joe wood said:
Is there any way to turn off those stupid smileys on the right when you're typing a reply!? >
Under the textbox - in the Options tab: "Disable smilies"
-
You probably need more segments IF they weren't Arcs***... BUT I looked at your SKP and it has just Edges and Arcs, BUT I noticed [eventually] that it also has a Face formed by these Arcs and other Edges !
If something has a Face [and your options are to Export Faces] then instead of the Edges and Arcs Exporting as just DXF Arcs and Lines, you'll get a 'Polyline Mesh' [to enclose the Face] - this is like any other type of 'Curve' Export and it then uses the 'segmentation'...
So to recap, to get pure Arcs in your Export you must have nothing more than Arcs and Edges [no Faces] to go into the 3D DXF.
So make sure any Faces are deleted and if you do have any non-Arc Curves*** then make sure they have lots of segments...
PS: Also 'Smileys are OFF' option... as TT just said...
-
Man I'm glad I posted that skp, didn't know about, not having that face in there!
Tig, what are non-Arc Curves? Are they just a series of segments (like when you Explode an arc), instead of one arc? In that skp, the bottom curves I made are arcs, and the one top curve is a non-arc curve? (the top curve is exploded)
OK, so delete that face, make the top curve one arc, and then Export> 3D Model> dxf ??
-
@joe wood said:
Man I'm glad I posted that skp, didn't know about, not having that face in there!
Tig, what are non-Arc Curves? Are they just a series of segments (like when you Explode an arc), instead of one arc? In that skp, the bottom curves I made are arcs, and the one top curve is a non-arc curve? (the top curve is exploded)
OK, so delete that face, make the top curve one arc, and then Export> 3D Model> dxf ??An Exploded Curve [an Arc or Circle is just a special sub-type of Curve] becomes just a lot of Edges.
Most of the time you do make Curves that are actually Arcs or Circles - and these Export as 3D Arcs etc - BUT you can have other types of 'Curves'.
If for example you selected all of the top pieces of Edges and then used Weld.rb on them, then it'll become a Curve [see Entity Info - it's reported as a 'Curve' NOT an 'Arc', which is itself a special sub-type of Curve] - this welded Curve is NOT editable so you are stuck with it's 'segmentation' as you welded it - so it's best to keep things as Arcs wherever possible because these Export as Arcs into a 3D DXF.
There are also other special types of Curves like Scaled-Arcs, or those that can be made with scripts like BZ-toolbar - for example, a Bezier Curve - this is a 'pure' mathematical curve - like a parabola - when you make it you can set its segment numbers [like you can with an Arc e.g. 100s] and also change then later using its toolbar 'Edit' [like Entity Info can change Arc segments that are too steppy...]
Curves are sometimes referred to as 'Polylines' - that is they are a collection of Edges 'welded' into a continuous thing. Indeed they could be any shape [e.g. a rectangle or a 3D helix] which mightn't look very 'curve-like' at all... All Curves that are NOT Arcs or Circles Export as 3D Polylines into CAD formats.Hope this helps you
-
TIG, sorry but I'm not getting this right. If you take a look at this dxf, it's still segmented. I made all the rafter's curves into Arcs, and removed the one inner face,
then did Export> 3D Model> AutoCad DXF.I'll also include my revised skp again.
you say that if I Export it as a 3D DXF then any 2D Arcs appear as true Arcs in the DXF. What am I doing wrong? I'll include my Export Options.
Thanks so much for your help, got another order for a set of rafters I need cut later on in the week
Does it matter if I'm using SUp Ver. 5 for this??
-
I looked at your DXF and -[apart from the fact that the rafter was 'grouped' when it didn't need to be]- the Arcs are all Arcs and therefore they have NO segments. A CAD program might display them as 'segmented', BUT they are Arcs - in AutoCAD 'regenall' will stop any steppiness in the Arcs' display and draw then it perfectly as a proper Curve - this is just CAD's way of simplifying graphics in the display...
I re-exported the SKP in 7 and the 3D DXF's Arcs were fine too...
I don't think it's v5 that's causing the problems as your DXF is OK for me.
Why do you think it's 'steppy' ? Is your CAD viewer causing problems - what are you using to look at the DXF ?
Remember that if you re-import a DXF back into SUp then every Curve is made with only 12 segments by default - ALL DXFs come in like that, so yours is fine in other programs like AutoCAD BUT will always looked messed up if re-imported...
-
Oh! is that it, my viewer is displaying the segments, but the CNC machine won't?!
I'm using DWG TrueViewer 2010 as my viewer.
http://usa.autodesk.com/adsk/servlet/pc/index?id=6703438&siteID=123112right on, I'll send that new dxf to my cnc guy and see what he says!
Looks like you've saved me from alot of sanding, all my joints thank you
-
@joe wood said:
Oh! is that it, my viewer is displaying the segments, but the CNC machine won't?!
I'm using DWG TrueViewer 2010 as my viewer.
http://usa.autodesk.com/adsk/servlet/pc/index?id=6703438&siteID=123112
right on, I'll send that new dxf to my cnc guy and see what he says!
Looks like you've saved me from a lot of sanding, all my joints thank youI also looked at the DXF with DWGTrueview201o and it does 'look' steppy BUT if you do a plot preview it's a pretty smooth Arc as far as your screen resolution will allow - that's how it should arrive at the CNC...
Hopefully the CNC will take the DXF's Arcs as ice smooth Arcs - but I can't promise for someone else's bits of kit !
Advertisement