Madeleine de Course Stellaire No16

Show off your FreeCAD projects here!
Brutha
Posts: 92
Joined: Mon May 04, 2015 1:50 pm

Re: Madeleine de Course Stellaire No16

Postby Brutha » Sun Feb 05, 2017 10:15 am

It looks really interesting! Can I ask how you are creating the surfaces? Is it new functionality, scripts or existing functionality that's been in Freecad all along and I haven't noticed?
User avatar
NormandC
Posts: 12264
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: Madeleine de Course Stellaire No16

Postby NormandC » Sun Feb 05, 2017 11:33 pm

@Brutha

emills2, as another participant of this discussion (Chris_G), has created his own workbench of surface tools. I can't find the link to it at the moment...
emills2
Posts: 202
Joined: Tue Apr 28, 2015 11:23 pm

Re: Madeleine de Course Stellaire No16

Postby emills2 » Mon Feb 06, 2017 12:07 am

short answer:
Scripts

http://edwardvmills.github.io/NURBSlib_EVM/

in a little bit finer detail:

Brutha wrote:existing functionality that's been in Freecad all along and I haven't noticed?


all the objects that result from these scripts are
Part.BSplineCurve() and Part.BSplineSurface()

the scripts use
increaseDegree()
insertKnot()
setPole()
segment()
and a few other functions built in to FreeCAD.

The whole issue with NURBS is having some kind of strategy to prepare the tables of poles and weights.

Over a year ago, i spent a fair bit of effort writing up a basic how-to, but i'm not aware of anyone actually trying to use it (until 10 months later), so i didn't update it. (i fight hard to find a few hours a week to spend on this project)

I do have a theoretical guide on the github above:
The next image shows the current required steps:
-create and position sketches using FreeCAD (white lines)
-convert the sketches to polygons (blues lines)
-convert the polygons to curves (black lines), or combine the polygons into grids (light blues lines)
-convert the grids to surfaces
-trim/clip sections of curves / surfaces (several steps needed here)
-blend the sections



Image


So, if someone has the stomach for that workflow, and is pretty serious about giving it a shot, i can write it up. Things are moving fast though, and i don't hesitate to change existing objects...breaking exisitng models :D usually it's not that bad really, it's not hard to rebuild from the underlying sketches. That's the whole design strategy: control everything through sketches.
triplus
Posts: 4993
Joined: Mon Dec 12, 2011 4:45 pm

Re: Madeleine de Course Stellaire No16

Postby triplus » Mon Feb 06, 2017 7:09 pm

I wanted to try it out on multiple occasions in the past. But as i didn't do much surface related things in FreeCAD in the past it didn't happen yet.

But things changed lately and i will try it out ASAP.
triplus
Posts: 4993
Joined: Mon Dec 12, 2011 4:45 pm

Re: Madeleine de Course Stellaire No16

Postby triplus » Tue Feb 07, 2017 2:08 pm

I started with git clone and first thought i had was i am cloning something else due to the size. After the operation completed no buttons or anything. A collection of images, FCStd files and macros was there instead. Nothing wrong with that but it will take me substantial amount of time to get over everything.

P.S. But i will do it (can set ETA yet) as you must have put a lot of hard work into this and it deserves a proper test.
emills2
Posts: 202
Joined: Tue Apr 28, 2015 11:23 pm

Re: Madeleine de Course Stellaire No16

Postby emills2 » Tue Feb 07, 2017 6:06 pm

Oops! All you need is the following folders:
-NURBSlib_EVM_python
-icons

The rest is all test models and pictures. I use github basically as my own storage for every single thing on this project.

Set up a freecad macro for each .fcmacro file. Some have icons with matching names.
emills2
Posts: 202
Joined: Tue Apr 28, 2015 11:23 pm

Re: Madeleine de Course Stellaire No16

Postby emills2 » Tue Feb 07, 2017 7:04 pm

triplus wrote:P.S. But i will do it (can set ETA yet) as you must have put a lot of hard work into this and it deserves a proper tes


Don't work too hard. Like i said before, it is NOT user friendly right now, because there were no users.

Since you want to give it a try, give me a few days to write up a basic howto :)
User avatar
microelly2
Posts: 2440
Joined: Tue Nov 12, 2013 4:06 pm
Contact:

Re: Madeleine de Course Stellaire No16

Postby microelly2 » Tue Feb 07, 2017 11:13 pm

emills2 wrote:
triplus wrote:P.S. But i will do it (can set ETA yet) as you must have put a lot of hard work into this and it deserves a proper tes


Don't work too hard. Like i said before, it is NOT user friendly right now, because there were no users.

Since you want to give it a try, give me a few days to write up a basic howto :)

It is good enough to see the ideas behind and to honour your work.
Thank you vor Sharing this.
triplus
Posts: 4993
Joined: Mon Dec 12, 2011 4:45 pm

Re: Madeleine de Course Stellaire No16

Postby triplus » Wed Feb 08, 2017 11:01 am

Hi @emills2.

Thanks for the additional info. I like the fact you provided test files. I am thinking weekend should enable me to have enough free time and to do some tests. Don't worry too much if you can't write a tutorial until then as i will likely be able to figure it out by looking in the provided FCStd files.