Nurbs editor
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!
-
- Posts: 261
- Joined: Wed Jul 23, 2014 10:10 am
Re: Nurbs editor
Thank you, microelly2
Re: Nurbs editor
It was worth a watch as at the end i got to see Curve editor in action.microelly2 wrote:But for the next weeks I need most time to support our CAM project which uses the geodata nurbs to get a terrain model: https://www.youtube.com/watch?v=ajbFLpeI7vk
- microelly2
- Veteran
- Posts: 4688
- Joined: Tue Nov 12, 2013 4:06 pm
- Contact:
Re: Nurbs editor
I have added 2 methods
a gui to change the model of a needle https://youtu.be/nB8uRu54OzY
move an object along a bspline curve https://www.youtube.com/watch?v=738kZ6X3sKM
a gui to change the model of a needle https://youtu.be/nB8uRu54OzY
move an object along a bspline curve https://www.youtube.com/watch?v=738kZ6X3sKM
Re: Nurbs editor
Especially the move an object example looks good.
- microelly2
- Veteran
- Posts: 4688
- Joined: Tue Nov 12, 2013 4:06 pm
- Contact:
Re: Nurbs editor
The hood object create a soft corner
https://youtu.be/5CINrLvBnkw
simple hood:
the 3 edges can be ellipse, parabola or hyperbola curves.
the full hood can use bspline-profiles designed in Part Design Sketches :
https://www.youtube.com/watch?v=wul_QMwTPZ8
https://youtu.be/5CINrLvBnkw
simple hood:
the 3 edges can be ellipse, parabola or hyperbola curves.
the full hood can use bspline-profiles designed in Part Design Sketches :
https://www.youtube.com/watch?v=wul_QMwTPZ8
- microelly2
- Veteran
- Posts: 4688
- Joined: Tue Nov 12, 2013 4:06 pm
- Contact:
Re: Nurbs editor
I found this link
nice to read to understand continuity and the power of nurbs.
https://www.augi.com/articles/detail/an ... continuity
nice to read to understand continuity and the power of nurbs.
https://www.augi.com/articles/detail/an ... continuity
- microelly2
- Veteran
- Posts: 4688
- Joined: Tue Nov 12, 2013 4:06 pm
- Contact:
Re: Nurbs editor
Last weeks I worked mainly on shoe last design.
it's a real good use case to see which methods are useful to get the jobs done.
One property of nurbs is that they can be easy computed after a perspective transformation.
Press and pull operations should be possible in CAD too without the need to move large numbers of points individual.
Draft workbench has methods for move, rotate, scale and mirror
but there are other more general transformations too.
affine transformation and perspective transformations
https://en.wikipedia.org/wiki/3D_projection
with the use of some methods of opencv image processing these methods can be applied for curves too.
http://docs.opencv.org/trunk/da/d6e/tut ... tions.html
here a first demo
https://youtu.be/UQZCsEjYSTM
it's a real good use case to see which methods are useful to get the jobs done.
One property of nurbs is that they can be easy computed after a perspective transformation.
Press and pull operations should be possible in CAD too without the need to move large numbers of points individual.
Draft workbench has methods for move, rotate, scale and mirror
but there are other more general transformations too.
affine transformation and perspective transformations
https://en.wikipedia.org/wiki/3D_projection
with the use of some methods of opencv image processing these methods can be applied for curves too.
http://docs.opencv.org/trunk/da/d6e/tut ... tions.html
here a first demo
https://youtu.be/UQZCsEjYSTM
-
- Posts: 5
- Joined: Fri Apr 21, 2017 11:18 am
- Location: France
Re: Nurbs editor
Hello everyone,
as I wrote it yesterday in my first message I'm a french hobby woodworker. I actually use a 3 axis CNC for classical 2.5D wood milling.
My wish would be to design my own 3D surfaces in order to create nice and original wood panels and I'm looking for some free software to do that.
At this time I only need to produce .stl files and I'll use more classical Cam software to generate the tool pathes.
FreeCAD + Nurbs surfaces (or maybe Blender) seem to be exactly what I'm looking for but I'm a full 3D CAD newbie ...
I've installed FreeCAD and the Nurbs editor using the addons installer but I can't lauch any of the furnished examples...
How must I proceed ? do I need to install any other addon ?
Can I simply copy the example python files into the python console ?
My first objective would be to create an X*Y control points grid and learn how to modify the surface by modifying the points as shown on the first page of this topic, in order to create a simple stl file example and do some tests.
Is there any of the example files that could help me to do this ?
I'm not specially used to python coding but I could learn it, I worked as a C/C++ developper some years ago ...
Thanks for helping !
Kind regards,
Chris
as I wrote it yesterday in my first message I'm a french hobby woodworker. I actually use a 3 axis CNC for classical 2.5D wood milling.
My wish would be to design my own 3D surfaces in order to create nice and original wood panels and I'm looking for some free software to do that.
At this time I only need to produce .stl files and I'll use more classical Cam software to generate the tool pathes.
FreeCAD + Nurbs surfaces (or maybe Blender) seem to be exactly what I'm looking for but I'm a full 3D CAD newbie ...
I've installed FreeCAD and the Nurbs editor using the addons installer but I can't lauch any of the furnished examples...
How must I proceed ? do I need to install any other addon ?
Can I simply copy the example python files into the python console ?
My first objective would be to create an X*Y control points grid and learn how to modify the surface by modifying the points as shown on the first page of this topic, in order to create a simple stl file example and do some tests.
Is there any of the example files that could help me to do this ?
I'm not specially used to python coding but I could learn it, I worked as a C/C++ developper some years ago ...
Thanks for helping !
Kind regards,
Chris
- microelly2
- Veteran
- Posts: 4688
- Joined: Tue Nov 12, 2013 4:06 pm
- Contact:
Re: Nurbs editor
Hello Chris,
First we have some random basic figures.
Start this random examples
Menu Faces -> create
create plane with randoms
create torus with randoms
and further cylinder, sphere
we are working on a project shoe last (it for me the best way to see what are useful methods to work on a real problem)
https://forum.freecadweb.org/viewtopic.php?f=3&t=20525
the starting point you get is a model with a lot of helper figures
Menu Faces -> create -> Create Shoe
There are some tools to create complex BSpline Curves as Sketcher Bsplines
Menu curves ->
create shoe last rib
create cloverleaf
My idea is to have a collection of BSpline curves and connect them to a surface.
If you want a planar surface with some hights, this is a "special case" of the shoe.
I will prepare an example for you.
There are some "one profile" examples the needles
https://freecadbuch.de/doku.php?id=blog:modellvorlagen
http://freecadbuch.de/doku.php?id=blog: ... gen_teil_2
You get them
Menu needle -> create needle
once the needle is created you can change the data
Menu needle -> needle change model
What you need is the latest developer version of freecad, I use often the newest features
https://forum.freecadweb.org/viewtopic.php?f=10&t=9364
https://forum.freecadweb.org/viewtopic.php?f=10&t=21962
Try these examples and we can see further.
First we have some random basic figures.
Start this random examples
Menu Faces -> create
create plane with randoms
create torus with randoms
and further cylinder, sphere
we are working on a project shoe last (it for me the best way to see what are useful methods to work on a real problem)
https://forum.freecadweb.org/viewtopic.php?f=3&t=20525
the starting point you get is a model with a lot of helper figures
Menu Faces -> create -> Create Shoe
There are some tools to create complex BSpline Curves as Sketcher Bsplines
Menu curves ->
create shoe last rib
create cloverleaf
My idea is to have a collection of BSpline curves and connect them to a surface.
If you want a planar surface with some hights, this is a "special case" of the shoe.
I will prepare an example for you.
There are some "one profile" examples the needles
https://freecadbuch.de/doku.php?id=blog:modellvorlagen
http://freecadbuch.de/doku.php?id=blog: ... gen_teil_2
You get them
Menu needle -> create needle
once the needle is created you can change the data
Menu needle -> needle change model
What you need is the latest developer version of freecad, I use often the newest features
https://forum.freecadweb.org/viewtopic.php?f=10&t=9364
https://forum.freecadweb.org/viewtopic.php?f=10&t=21962
Try these examples and we can see further.
-
- Posts: 5
- Joined: Fri Apr 21, 2017 11:18 am
- Location: France
Re: Nurbs editor
Thank you very much for your answer.microelly2 wrote:Hello Chris,
First we have some random basic figures.
Start this random examples
Menu Faces -> create
I'm sorry but I don't have any "Faces" menu, I've selected the complete workbench view but I can't find it.
Is there something special to launch to access your addon's functions ?
Or maybe the problem is I use FreeCAD version 0.16 running under windows 7 ?
Kind regards,
Chris