How to duplicate B-spline?
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 duplicate B-spline?
How to duplicate B-spline (or copy and paste to have two same B-splines)?
I would like to offset that spline. So, I`ve thought that I will duplicate it and set it as parallel. I would like to get thickness to that B-spline to revolve it after.
I would like to offset that spline. So, I`ve thought that I will duplicate it and set it as parallel. I would like to get thickness to that B-spline to revolve it after.
- Shalmeneser
- Veteran
- Posts: 9592
- Joined: Wed Dec 23, 2020 12:04 am
- Location: Fr
-
- Veteran
- Posts: 3192
- Joined: Thu Sep 24, 2020 10:31 pm
- Location: Hawaii
- Contact:
Re: How to duplicate B-spline?
Offsetting and duplicate+translate are different operations. The former you can only do approximately. It is particularly problematical if the inner radius of curvature is less than the offset. https://forum.freecadweb.org/viewtopic.php?t=53712
Re: How to duplicate B-spline?
Thanks a lot for your help. Is there any future plans about adding an offset tool in sketcher (even not exact).
The Interior curve after offset should have a radius minus the thickness value and position offset as shown in your link above.
edit: OK. I`ve found a sweep trick to do offset of the curve. Maybe it will be enough.
The Interior curve after offset should have a radius minus the thickness value and position offset as shown in your link above.
edit: OK. I`ve found a sweep trick to do offset of the curve. Maybe it will be enough.
Re: How to duplicate B-spline?
I just tried the following with success:
- make an offset2D of the spline
- close the ends in Draft workbench with straight lines
- upgrade
- revolve
As upgrade is non parametric the whole process is non parametric.
- make an offset2D of the spline
- close the ends in Draft workbench with straight lines
- upgrade
- revolve
As upgrade is non parametric the whole process is non parametric.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Re: How to duplicate B-spline?
If I use a compound instead of upgrade, the model stays partially parametric. Only the Draft lines have to be corrected if the endpoints of the B-spline move. You could probably improve parametricity if you use additional sketches for the closing lines.
- Attachments
-
- duplicateBSpline.FCStd
- (31.77 KiB) Downloaded 24 times
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Re: How to duplicate B-spline?
@chrisb:
Thanks a lot. Very interesting.
After small tweaking of middle control points, the whole setup is broken. Why?
Another thing is that the final revolve is not updating after the control point move.
I like that procedural approach very much but it works strange for me. IMO that procedural offset line is flipped to the other side because those small lines are in the wrong place now. Maybe that`s why it`s not updating. But why it`s flipping after the control point moving?
Thanks a lot. Very interesting.
After small tweaking of middle control points, the whole setup is broken. Why?
Another thing is that the final revolve is not updating after the control point move.
I like that procedural approach very much but it works strange for me. IMO that procedural offset line is flipped to the other side because those small lines are in the wrong place now. Maybe that`s why it`s not updating. But why it`s flipping after the control point moving?
- Attachments
-
- duplicateBSpline_after_tweaks.FCStd
- (23.9 KiB) Downloaded 17 times
Re: How to duplicate B-spline?
if you are ok with 3d-offset in part wb...
Re: How to duplicate B-spline?
You can find parametric line feature in CurvesWb. Just select two vertexes in 3D view then run the tool.
Re: How to duplicate B-spline?
@GlouGlou: Thanks a lot.