Anuncios

The Autodesk Community Forums has a new look. Read more about what's changed on the Community Announcements board.

Sweeping along 3D polyline in AutoCAD

Anonymous

Sweeping along 3D polyline in AutoCAD

Anonymous
No aplicable

Hi, I want to ask you  if it is possible to make a sweep of two profiles along a 3d polyline. The problem is that the 3D polyline is the axis of the rail, and the profiles are 0.75 far from it. Due that is not possible make an offset of a 3D Polyline, How I can make the two profiles "follow" the path?

 

(image and file attached)

 

Thanks

@Anonymous, 

john.vellek has edited your subject line for clarity: Sweeping along 3D polypine

0 Me gusta
Responder
Soluciones aceptadas (1)
5.118 Vistas
15 Respuestas
Respuestas (15)

ian.mag
Collaborator
Collaborator

Hey,
Correct me if am wrong but the way I have understood your post is that you want to make sweep the shapes along the 3D polyline, but the problem is the 3D polyline is between the two shapes and there is no way to offset it?

0 Me gusta

Anonymous
No aplicable

exactly, is in between the profiles (as you can see in the photo)

0 Me gusta

Anonymous
No aplicable

The Red Polyline

0 Me gusta

ian.mag
Collaborator
Collaborator

Hey,
Thank you for the clarification. I shall make a video for you to demonstrate how I would approach your issue the moment I get home, and if anyone hasn't yet responded to this.

Anonymous
No aplicable

Thank you very much

0 Me gusta

j.palmeL29YX
Mentor
Mentor

@Anonymous  schrieb:

... The problem is that the 3D polyline is the axis of the rail, and the profiles are 0.75 far from it. s


You can try this:

- Convert the two profiles to regions (command REGION and select the Profiles).

- Join the two regions to one Region (command UNION).

- Now you can this region either sweep along the path or extrude / path.

 

I didn't try it yet, but I hope this will be successful.

 

cadder

Jürgen Palme
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

0 Me gusta

ian.mag
Collaborator
Collaborator

Hey @Anonymous,

Am finally in a position to open the drawing, I however see that it has been saved with a higher version of AutoCAD. Would you save the file to 2015/2013? @j.palmeL29YX you can also help out too if you can

0 Me gusta

j.palmeL29YX
Mentor
Mentor

@ian.mag

Here it is.

 

cadder

Jürgen Palme
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

0 Me gusta

j.palmeL29YX
Mentor
Mentor

Attached one possible result.

First I simplified the path a little. (Placed 20 nodes and created a new spline along this nodes. I don't know if this simplification is allowed).

Then I did as described above: 2 regions joined to one region, then extruded along the path.

If you need urgently your original path this should be possible too - but you will need some patience (I stopped after half an hour ... ).

 

cadder

Jürgen Palme
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

0 Me gusta

john.vellek
Alumni
Alumni
Solución aceptada

hi @roberto.waccher,

 

I took a look at your interesting problem.  I liked the idea of converting the profiles to REGIONS.  I then tried to select a basepoint at the end of the 3D polyline but it returned an error. So, instead I just copied the polyline to each of the profiles and ran the sweep from there.  I was not patient enough to try sweeping the entire path but it seemed to work fine for the portion that I used.  Here is a quick video of my process.

 

Capture.PNG

 

Please select the Accept as Solution button if my post solves your issue or answers your question.

 

 


John Vellek


Join the Autodesk Customer Council - Interact with developers, provide feedback on current and future software releases, and beta test the latest software!

Autodesk Knowledge Network | Autodesk Account | Product Feedback

j.palmeL29YX
Mentor
Mentor

@john.vellek  schrieb:

 

... instead I just copied the polyline to each of the profiles and ran the sweep from there.    

 

 


I'm afraid that's not the solution Roberto is looking for. Assuming the path includes a radius (and it is). Then the radius of the inner rail should be smaller and the radius of the outer rail should be larger. But if you only copy the given path twice ... (?).

 

cadder

 

Jürgen Palme
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

john.vellek
Alumni
Alumni

Hi @j.palmeL29YX,

 

I agree that copying the path would not adjust the radius. I merely wanted to show the process using a basepoint (and that the basepoint does not need to be on the profile itself) and then a path selection. I noticed when opening the file that it had proxy objects so I decided to also run an EXPORTTOAUTOCAD.   I am re-doing this along the central path (and I will try to be patient) and hope to post my results when it finishes.

 

 [Edit] I have found that applying a SPLINE Fit to the 3D polyline seems to help.  I was actually able to get a short section of the rails to sweep based on the red pline but it is a painfully slow process on my laptop.

 

This is the result when I take a short section of the path and apply the two regions  in my sweep:

 

Capture.PNG

 

Please select the Accept as Solution button if my post solves your issue or answers your question.

 

 


John Vellek


Join the Autodesk Customer Council - Interact with developers, provide feedback on current and future software releases, and beta test the latest software!

Autodesk Knowledge Network | Autodesk Account | Product Feedback

ian.mag
Collaborator
Collaborator

Hey @john.vellek,

 

My first approach even before opening the drawing was more like yours, but considering @j.palmeL29YX comment on the same, sort for a different approach.

I made a polyline shape 2 for the outer and shape 1 for the inner shapes, then combined with a common base point so they are exactly on same plane ie shape 3.

My intent was possibly to sweep shape 2 one to the 3d polyline, then subtract/presspull shape 1 across the entire path to end up with the railing on either side. Sweep didn't seem to really work (the feedback from the command line was to ***unable to sweep***) and would freeze/crash my PC. I guess it’s what you were talking about @john.vellek when you said it takes long to do so.

Capture 1.png

j.palmeL29YX
Mentor
Mentor

And what about the solution suggestion given in posting #10 (https://forums.autodesk.com/t5/autocad-forum/sweeping-along-3d-polyline-in-autocad/m-p/8219918#M9460...) ?

Of course you can refine the approximated new path using 100 points or 200 points to get a closer result.

BTW: At this point I must ask you: What is this model useful for, what do you need ist for? 

 

Last night I tried to create a model using the given path (3D-Polyline). After more than 12 hours AutoCAD still worked, but not ready yet. I decided to abort (I need my computer for other work) - but If you have enough patience ...

 

cadder

Jürgen Palme
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

j.palmeL29YX
Mentor
Mentor

In my first example above (#10) I used "Extrude a region along path".

Here now I followed the suggestion of @john.vellek. I also used an approximated path but with an higher accuracy (a 200 points spline). Then two sweepings using the Basepoint option. (Sweep -> select one of the rail profiles -> Choose for basepont the startpoint of the path -> select path -> ready. And this again with the other profile).

Both variants give a (IMHO) suitable result.

The main problem sees to be your 3D-Poly-Path with about 8600 segments. Maybe this is too much for a "Standard" computer.

 

cadder

 

Jürgen Palme
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature