News:

When replying to a specific statement be sure to quote the previous post.

Main Menu
TurboCAD 2026 Platinum box
Now available

TurboCAD 2026.2

The latest update for TurboCAD 2026. It installs over any 2026 build and keeps your activation, drawings and settings. Get it from the Start Page or Help > Check for Update.

Working with an idea

Started by AussieBloke, June 08, 2022, 08:26:34 PM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

AussieBloke

Can the sample selected image ( thats just made up of lines ) below be copied along a 3D spline by control points with exact spacing, where the 3D spline has one more loops and where the 3D spline moves in all 3 planes of X, Y and Z directions?

Or alternately can the curve by law tool be used to create/simulate a 3D path?


nikkipollard

#1
How would you join the triangles on the curve?
You could try pattern on a path - using circles and then profile on a path at each circle centre.

When I was trying to learn vb.net. I played around with a script that copies objects along a path. I wanted the profiles to rotate - or not rotate predictably.
This is the result with a triangle.
Nikki
TC20 platinum, TC 2015 platinum
TC 2017 with lightworks
TC 2021 platinum
Windows 11 Home 22h

AussieBloke

Nikki atm Im just copying one at a time and slow going, so I thought it was worth asking if anyone else had tried copying along a path even if its a 3D spline. Whats particular to this is that once I get to a curve thats got a slight change of direction Ive gotta rotate it in 2 planes,

I will post another image later today so that others can get a better idea of what Im doing..

nikkipollard

The pattern on a path with a circle and will get the spacing for you.
and the profile on a path (found in sdk add ons.) will rotate the profile normal to the path at a point.
You would have to play around with it because getting the exact point might be fiddly.

The aim of my script was to copy objects along any 2d path and only rotate in 2 (or one) planes unlike the pattern tool which rotates in 3 planes. 


Nikki
TC20 platinum, TC 2015 platinum
TC 2017 with lightworks
TC 2021 platinum
Windows 11 Home 22h

Alvin Gregorio

#4
Quote from: Darryl W on June 08, 2022, 08:26:34 PMCan the sample selected image ( thats just made up of lines ) below be copied along a 3D spline by control points with exact spacing, where the 3D spline has one more loops and where the 3D spline moves in all 3 planes of X, Y and Z directions?
...

I read it three times Darryl.  It's still not clear to me what you are wanting to achieve.

Can you maybe print your truss object (in isometric view) out on paper, and use a pencil to sketch what you're after, and scan that and show us that. (?)
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

Andy H

Personally Darryl.  I think trying to do this automatically would be difficult, Because the normal way using pattern or graphic on path etc.  It would calculate distance based on the length of the curve, or parts of a curve at certain points.  whereas you require the chord distance at various points along the curve, to accommodate the straight line.

Effectively the finished item will look more like its drawn on a 3d polyline, than on a curve.   Unless I'm completely misunderstanding your requirements.

murray dickinson

It can be done with a regular 3D law curve, like a helix, because the compound transformation is the same for each incremental move.  Use transform recorder for the 3-point-pairs generic transformation with "keep original" checked to run however many times as you want.

nikkipollard

Is the movement the same if you are working with a spline?
Nikki
TC20 platinum, TC 2015 platinum
TC 2017 with lightworks
TC 2021 platinum
Windows 11 Home 22h

Alvin Gregorio

#8
Quote from: Darryl W on June 08, 2022, 08:26:34 PMCan the sample selected image ( thats just made up of lines ) below be copied along a 3D spline by control points with exact spacing, where the 3D spline has one more loops and where the 3D spline moves in all 3 planes of X, Y and Z directions?
I read it five times Darryl.  It's still not clear to me what you are wanting to achieve.
Alvin Gregorio
TurboCAD: v2024_Plat (31.0.77.1); v2022_Plat; v2020_Plat; v2019_DL; v20.2_PP
Lenovo Thinkpad P20Y laptop; Windows 11 Pro; i7-11800H 2.30GHz, 8-core; 32GB RAM; NVIDIA T1200
3D_Printer: Ender-3 S1 (NOT Pro)

AussieBloke

I will get back here soon, Ive been sick these last few days with the flu.

Jeff_in_90620

Quote from: Darryl W on June 11, 2022, 07:09:00 PMI will get back here soon, Ive been sick these last few days with the flu.

While most symptoms of the current variants are mild, you may still have coronavirus.  You should check it out.


Jeff
Jeff

TC 2026 Pro Platinum plus 2015->2024 (most with LightWorks & RedSDK) & V21
System: AMD Ryzen 9 7950X, MSI Mag X670E Tomahawk WiFi, 64GB RAM @ 4.80GHz, ARC A770 w/16GB, 3 x Samsung NVMe 990 (1TB), Windows 11 Pro (64-bit)

Henry Hubich

Daz, you can use Pattern on Curve to place equally-spaced copies of the triangle along a 3D Spline and then connect their vertices with three 3D Polylines. But there are a couple of problems:

Although the triangles will be evenly spaced and the plane of each one will be normal to the curve, the orientation of each one in its own plane might not be what you want. If this is the case, it's a tedious process to fix things.

The drawing might be so cluttered that finding the correct vertex (when drawing the 3D Polylines) becomes nightmarish. I write this after trying the procedure outlined here.

Henry H

AussieBloke

Thanks guys for being patient with me here, Im getting better each day. No covid here Jeff.