Sweep and Arcs
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2015-06-18 03:11 PM
2015-06-18
03:11 PM
i'm trying to make a solid like the one shown in the picture below in order to use it for solid operations. The final object has to be fully parametric so i cant use inserted objects (from 3ds, maya etc) or morphs.
Sweep cmd seems to be my only choice and in the "GDL Reference Guide" pg 87 is mentioned that
Although when i'm trying to use the POLY codes to insert the path this msg drives me crazy every time:
Have any of you tried to do something like that ?
6 REPLIES 6

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2015-06-19 12:05 AM
2015-06-19
12:05 AM
How are you using the additional status codes? It works fine here.
PUT 0'-0.0000", 0'-1.0000", 1, 0'-0.0000", 0'-0.0000", 900, 0'-0.0000", 590'-6.6142", 4001, 0'-0.0000", 0'-1.0000", 1 profpts=NSP/3 PUT 0'-0.0000", 0, 0'-0.0000", 0'-0.0381", 0, 0'-0.8716", 0'-0.1519", 0, 0'-1.7365", 0'-0.3407", 0, 0'-2.5882", 0'-0.6031", 0, 0'-3.4202", 0'-0.9369", 0, 0'-4.2262", 0'-1.3397", 0, 0'-5.0000", 0'-1.8085", 0, 0'-5.7358", 0'-2.3396", 0, 0'-6.4279", 0'-2.9289", 0, 0'-7.0711", 0'-3.5721", 0, 0'-7.6604", 0'-4.2642", 0, 0'-8.1915", 0'-5.0000", 0, 0'-8.6603", 0'-5.7738", 0, 0'-9.0631", 0'-6.5798", 0, 0'-9.3969", 0'-7.4118", 0, 0'-9.6593", 0'-8.2635", 0, 0'-9.8481", 0'-9.1284", 0, 0'-9.9619", 0'-10.0000",0, 0'-10.0000" pathpts=(NSP-profpts*3)/3 SWEEP profpts, pathpts, 0, 1.1, 1+2+4+16+32, GET(NSP)
Erich
AC 19 6006 & AC 20
Mac OS 10.11.5
15" Retina MacBook Pro 2.6
27" iMac Retina 5K
AC 19 6006 & AC 20
Mac OS 10.11.5
15" Retina MacBook Pro 2.6
27" iMac Retina 5K
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2015-06-19 04:19 AM
2015-06-19
04:19 AM
Thank you for your reply,
my problem is defining the path with status points in order to be able to construct the new object changing the parameters (start point, end point, angle or something like that) and not to calculate path points coordinate.
my problem is defining the path with status points in order to be able to construct the new object changing the parameters (start point, end point, angle or something like that) and not to calculate path points coordinate.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2015-06-19 04:39 AM
2015-06-19
04:39 AM
If you are trying to use a start point, centre point, radius, endpoint to define your path I don't believe you can do this as the sweep path are simple x,y,z co-ordinates and have no status codes for centre and arc.
You have to define each path in the sweep using SIN & COS similar to the example used in the TUBE command in the GDL reference manual.
If it is a circular path you need to follow the REVOLVE can do that but this won't work for an elliptical path.
If this is not what you are meaning the please ignore my reply.
Barry.
You have to define each path in the sweep using SIN & COS similar to the example used in the TUBE command in the GDL reference manual.
If it is a circular path you need to follow the REVOLVE can do that but this won't work for an elliptical path.
If this is not what you are meaning the please ignore my reply.
Barry.
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2015-06-19 06:33 AM
2015-06-19
06:33 AM
Yeah, Barry's answer is spot on. You cannot use the status codes for your path, only your polyline surface. The Sin/Cosine route is necessary for a mathematical curve. In my example I just simplified things by laying out and arc and segmenting it and getting the XY coordinates. But that doesn't work well for a parametric path.
Erich
AC 19 6006 & AC 20
Mac OS 10.11.5
15" Retina MacBook Pro 2.6
27" iMac Retina 5K
AC 19 6006 & AC 20
Mac OS 10.11.5
15" Retina MacBook Pro 2.6
27" iMac Retina 5K
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2015-06-19 03:13 PM
2015-06-19
03:13 PM
Thank you,
you were all very helpful. My original intention was to create the path using arc polylines. Now I know that it can't be done so I'm creating a cos/sin function for path points' determination. Additionally the number of path points will have to be inserted in the UI as a precision factor. It will be a users' choice between precision and memory consuming object..
We can't have it all
you were all very helpful. My original intention was to create the path using arc polylines. Now I know that it can't be done so I'm creating a cos/sin function for path points' determination. Additionally the number of path points will have to be inserted in the UI as a precision factor. It will be a users' choice between precision and memory consuming object..
We can't have it all


Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2015-06-19 03:54 PM
2015-06-19
03:54 PM
You can use the RESOL and TOLER functions to define the complexity of the object. This may be an easier route than alternate path points. Of course it will affect not just the path but any other curved elements as well.
Erich
AC 19 6006 & AC 20
Mac OS 10.11.5
15" Retina MacBook Pro 2.6
27" iMac Retina 5K
AC 19 6006 & AC 20
Mac OS 10.11.5
15" Retina MacBook Pro 2.6
27" iMac Retina 5K