It's ok 3d printers will be doing it for you.
Arch WB Wall and splines
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Re: Arch WB Wall and splines
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."
Re: Arch WB Wall and splines
I know, but ordering objects (area efficiency) and maintain them (like simple thing like cleaning)? Rectangular ftw! Anyway, i am not in arch.
Greetings
user1234
Re: Arch WB Wall and splines
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."
Re: Arch WB Wall and splines
I can´t produce a correctly offsetted bspline (i mean usable for walls) with this method it seems... Does it work for you if you offset for ex. along (0,1,0)?onekk wrote: ↑Sun Feb 05, 2023 4:26 pm
I don0t know the mathematics but you could use:
Code: Select all
spline2 = Part.OffsetCurve(bs0, 10, V3d(0,0,1)) Part.show(spline2.toShape(), "offset_spline")
Re: Arch WB Wall and splines
For some "directions" it produces weird results, when experimenting I have found that as example if you draw the BSpline in the XY plane, you could extrude it but modify the code
Code: Select all
Part.show(spline2.toShape(), "offset_splineV001")
spline3 = Part.OffsetCurve(bs0, 10, V3d(0, 1, 0))
Part.show(spline3.toShape(), "offset_splineV010")
spline4 = Part.OffsetCurve(bs0, 10, V3d(1, 0, 0))
Part.show(spline4.toShape(), "offset_splineV100")
For which I was speaking about of mathematics behind Offset the Vector is not clear.
but as example if you use some not "relative axis data" I could not a reasonable term to define them:
Code: Select all
spline5 = Part.OffsetCurve(bs0, 10, V3d(0.5, 0.5, 0.5))
Part.show(spline5.toShape(), "offset_splineVhhh")
I don't know with other data, but test code is general enough to modify data and experimenting, and maybe ask @wmayer what he thinks of weird results, maybe they have sense, but I can't see a reason for the "jump".
Sorry but I' model with scripting and usually find a way to make the job other times, I try to search workarounds, as I'm wiritng almot everyday code for FreeCAD to produce solids. If some of my experiments, could help to make FreeCAD better, I'm very pleased to contribute.
Regards
Carlo D.
GitHub page: https://github.com/onekk/freecad-doc.
- In deep articles on FreeCAD.
- Learning how to model with scripting.
- Various other stuffs.
Blog: https://okkmkblog.wordpress.com/
- In deep articles on FreeCAD.
- Learning how to model with scripting.
- Various other stuffs.
Blog: https://okkmkblog.wordpress.com/
Re: Arch WB Wall and splines
The vector in this case is a normal I think. Leaving it at (0,0,1) should be OK for walls. In the example 10 is the offset distance.