Why are arc segments not twisted during sweep?
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!
Why are arc segments not twisted during sweep?
Hello,
why are arc segments not twisted during sweep?
Two sweeps between twisted sketches Arc segment isnt twisted continuously, but line segments are.
File done with
OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.10802 (Git)
Build type: Release
Branch: master
Hash: 10ce910c03347a90712327a7cc7be2bcdee13afc
Python version: 2.7.8
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.0.0
why are arc segments not twisted during sweep?
Two sweeps between twisted sketches Arc segment isnt twisted continuously, but line segments are.
File done with
OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.10802 (Git)
Build type: Release
Branch: master
Hash: 10ce910c03347a90712327a7cc7be2bcdee13afc
Python version: 2.7.8
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.0.0
Re: Why are arc segments not twisted during sweep?
Hello,
i have done some investigations and tried to build up this sweep in SALOME 8.2.0
Checking this box moves path into contact with edges to sweep.
That does the trick. Don't ask we why.
Works in FreeCAD also.
Seems we need also more of these tiny checkboxes
i have done some investigations and tried to build up this sweep in SALOME 8.2.0
Checking this box moves path into contact with edges to sweep.
That does the trick. Don't ask we why.
Works in FreeCAD also.
Seems we need also more of these tiny checkboxes
- Attachments
-
- TwoSweepsCorrected.FCStd
- (31.88 KiB) Downloaded 25 times
Re: Why are arc segments not twisted during sweep?
Hi, first I thought it is a problem with a bad constrained sketch. Sketches 1a and 1b in your first post are overconstrained because of unnecessary constrains 5 and 6. Deleting them keeps the sketches full constrained but unfortunately gives no result in making a better sweep. To me it seems you found a bug. You changed this bad constrained sketch in your second post. In Freecad I do not see anything that is simular to the checkbox you found in Salome. I think you only moved the ARC for the sweep from the center of the arc in the sketch 15 mm downwards to the bottom of the shape.
Re: Why are arc segments not twisted during sweep?
That's right. In SALOME one can see results immediately after checking offered boxes, of course if "preview" is checked too.Willem wrote:I think you only moved the ARC for the sweep from the center of the arc in the sketch 15 mm downwards to the bottom of the shape
If box "With contact" is checked both sketches are moved automatically to get in contact with sweep path.
In FreeCad i imitated this behaviour by simply moving sweep path manually.
BTW:
Length of distortion nearby Sketch1B is influenced by this preference
Re: Why are arc segments not twisted during sweep?
Hi, I never thought of this setting as a solution for this problem. By helping other people on this forum I sometimes learn something new
Re: Why are arc segments not twisted during sweep?
Hi,
I just checked the bottom face of the sweep.
It is a clean BSpline surface : So the problem is indeed only with the tesselation, but the sweep is good.
I just checked the bottom face of the sweep.
It is a clean BSpline surface : So the problem is indeed only with the tesselation, but the sweep is good.
Re: Why are arc segments not twisted during sweep?
In fact, I think the sweep failed.
The upper surface of the sweep is identified as a toroid, and the 2 edges that join sketch 1 to sketch 2, as circles : Since, the 2 sketches form a kind of twist, I think the 2 joining edges can't be circles.
So this might be an OCC bug ?
I have been able to produce a good sweep by converting the path to nurbs before :
The upper surface of the sweep is identified as a toroid, and the 2 edges that join sketch 1 to sketch 2, as circles : Since, the 2 sketches form a kind of twist, I think the 2 joining edges can't be circles.
So this might be an OCC bug ?
I have been able to produce a good sweep by converting the path to nurbs before :
Re: Why are arc segments not twisted during sweep?
Hello Chris_G,
you are right, bsplined path works too!
Please, can you give some hints, which way you've done these examinations?
you are right, bsplined path works too!
Please, can you give some hints, which way you've done these examinations?
Re: Why are arc segments not twisted during sweep?
A lot of information is accessible with python commands.
For example, select an edge in the 3D view.
In the Selection panel, right-clic and "selection to python console" : you get something like this in the python console :
Then you get info with :
I also made a tool for getting nurbs information in my crappy Curves workbench (the blue icon in the screenshot below)
For example, select an edge in the 3D view.
In the Selection panel, right-clic and "selection to python console" : you get something like this in the python console :
Code: Select all
>>> obj = App.getDocument("Sans_nom").getObject("Spline")
>>> shp = App.getDocument("Sans_nom").getObject("Spline").Shape
>>> elt = App.getDocument("Sans_nom").getObject("Spline").Shape.Edge1
Code: Select all
elt.Curve
# result :
<BSplineCurve object>
Re: Why are arc segments not twisted during sweep?
Thank you!!
I have to check out this.
I have to check out this.