how to sweep oblique path?
Forum rules
and Helpful information
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help
Also, be nice to others! Read the FreeCAD code of conduct!
Also, be nice to others! Read the FreeCAD code of conduct!
how to sweep oblique path?
newbie question - If I want to sweep a sketch along a path that is not already drawn perfectly perpendicular to the sketch, Is there a way to tell the sweep tool to always sweep the sketch along its perpendicular axis?
I'm using 0.16 rev 6405
I'm using 0.16 rev 6405
Re: how to sweep oblique path?
Hishredator wrote:newbie question - If I want to sweep a sketch along a path that is not already drawn perfectly perpendicular to the sketch, Is there a way to tell the sweep tool to always sweep the sketch along its perpendicular axis?
I'm using 0.16 rev 6405
yes, don't use Part Sweep, use a different more appropriate tool. Which one depends on what exactly you are trying to do.
Sweep is intended to follow a path, if your path is a simple "normal" to the sketch plane then just PartDesign Pad or Part Extrude, if you have only one profile. If you have more than one profile then use Part Loft.
- DeepSOIC
- Veteran
- Posts: 7896
- Joined: Fri Aug 29, 2014 12:45 am
- Location: used to be Saint-Petersburg, Russia
Re: how to sweep oblique path?
There is a trick. You can use Draft PathArray to make planes perfectly perpendicular to the path, and then attach sketches to these planes.
Re: how to sweep oblique path?
Draft_PathArray button doesnt work for me unfortunately. It gives a brief error message at the bottom of the screen (would be nice if the error would come up in the command line) and does nothing.
also, how does this method handle updates? do the planes stay perpendicular to the path when the path is moved?
many thanks for the help so far!
also, how does this method handle updates? do the planes stay perpendicular to the path when the path is moved?
many thanks for the help so far!
Re: how to sweep oblique path?
Edit -> Preferences / General / Output windowshredator wrote:would be nice if the error would come up in the command line
Check both "redirect internal python..."
And activate Report view display from Views --> Panels
Re: how to sweep oblique path?
here's what it gives me:
Code: Select all
Running the Python command 'Draft_PathArray' failed:
Traceback (most recent call last):
File "C:\Users\user\Desktop\FreeCAD_0.16.6405_x64_dev_bin\Mod\Draft\DraftTools.py", line 4174, in Activated
self.proceed()
File "C:\Users\user\Desktop\FreeCAD_0.16.6405_x64_dev_bin\Mod\Draft\DraftTools.py", line 4182, in proceed
path = sel[1].Object
list index out of range
- DeepSOIC
- Veteran
- Posts: 7896
- Joined: Fri Aug 29, 2014 12:45 am
- Location: used to be Saint-Petersburg, Russia
Re: how to sweep oblique path?
You should select the Object, the Path, and then click the patharray button. The error is because it is trying to access the path as second selection, which is probably lacking.
Re: how to sweep oblique path?
ah ha. that was the problem. be nice if the command actually told you that it was expecting something instead of just dumping some cryptic error.
Anyway, so Im able to array along a path now. I still havent grasped how it helps me align a plane to the path however. I can only get it to align the edge of the sketch with the path. pretty much the opposite of what i want.
side rant: I cant think of an instance where you would want to sweep a sketch and *not* have it kept perpendicular to the path it was being swept upon. how is this current sweep tool useful at all?
@jmaustpc: Tried padding the sketch to make a tube, then rotating the tube. seems like this would work ok, except the pad cannot be rotated because its placement is readonly. using the loft tool doesnt seem relevant to what I'm trynig to do. but maybe i should clarify more.
My overall goal is to design a 3d truss made out of tubing. I thought that I should be able to make the truss using lines, and then somehow sweep a sketch of the tubing walls over all of the elements. Am I just approaching this completely wrong?
sorry for being difficult, thanks very much for all of the help so far!
Anyway, so Im able to array along a path now. I still havent grasped how it helps me align a plane to the path however. I can only get it to align the edge of the sketch with the path. pretty much the opposite of what i want.
side rant: I cant think of an instance where you would want to sweep a sketch and *not* have it kept perpendicular to the path it was being swept upon. how is this current sweep tool useful at all?
@jmaustpc: Tried padding the sketch to make a tube, then rotating the tube. seems like this would work ok, except the pad cannot be rotated because its placement is readonly. using the loft tool doesnt seem relevant to what I'm trynig to do. but maybe i should clarify more.
My overall goal is to design a 3d truss made out of tubing. I thought that I should be able to make the truss using lines, and then somehow sweep a sketch of the tubing walls over all of the elements. Am I just approaching this completely wrong?
sorry for being difficult, thanks very much for all of the help so far!
Re: how to sweep oblique path?
This is due to the the intended part design linear workflow, which is features applied on top of previous features. So you need to change the placement of the very first sketch, in your case just the sketch that the initial pad is based on.shredator wrote:@jmaustpc: Tried padding the sketch to make a tube, then rotating the tube. seems like this would work ok, except the pad cannot be rotated because its placement is read-only. using the loft tool doesn't seem relevant to what I'm trying to do. but maybe i should clarify more.
The Arch_Frame may be of interest.
"fight the good fight"
Re: how to sweep oblique path?
The problem is that your first post was so ambiguous that we have all interpreted what you want differently.shredator wrote:Anyway, so Im able to array along a path now. I still havent grasped how it helps me align a plane to the path however. I can only get it to align the edge of the sketch with the path. pretty much the opposite of what i want.
Draft workbench has Array tools that create an Array of copies of a solid. Polar and ortho Arrays but also Path Array which instead of making the array in an either circular or rectangular pattern, it makes the array by following a path which can curve and bend and go all over the place. A work around/trick is that Path Array controls the orientation of the solids relative to the path at the exact location of each new cloned solid.
the tool is great, there are cases where you want to control the orientation,shredator wrote:side rant: I cant think of an instance where you would want to sweep a sketch and *not* have it kept perpendicular to the path it was being swept upon. how is this current sweep tool useful at all?
can you provide any pictures, links or some sort of example? If so we could likely suggest some alternatives.shredator wrote:My overall goal is to design a 3d truss made out of tubing. I thought that I should be able to make the truss using lines, and then somehow sweep a sketch of the tubing walls over all of the elements. Am I just approaching this completely wrong?
Also it is possible that your project may become slow to compute if it is rather complex. You should consider if some details need to be modelled at all or if you are better to make a more simple model and then just specify some details by a materials or other description. For example you would normally not model threads, not model the pattern of checker plate flooring etc. It is also possible that you may not really need to model tube, you can sometimes just use a cylindrical solid and just specify that the material is XYZ tubing. But all this depends on exactly what and why you are modelling something.
Jim