Nurbs and Silk errors

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
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!
Stou
Posts: 40
Joined: Mon Dec 31, 2018 12:24 pm
Location: Laval, Québec, Canada
Contact:

Nurbs and Silk errors

Post by Stou »

I installed Nurbs and Silk via Addon Manager without any error but when I tried to used it, I have errors. It look like there's some modules and variables missing.

Nurbs errors:
Running the Python command 'Nurbs_createsketchspline' failed:
Traceback (most recent call last):
File "<string>", line 271, in Activated
File "<string>", line 1, in <module>
File "C:\Users\stou9\AppData\Roaming\FreeCAD\Mod\nurbs\nurbswb\createsketchspline.py", line 9, in <module>
from scipy.signal import argrelextrema

No module named scipy.signalRunning the Python command 'Nurbs_createsketchspline' failed:
Traceback (most recent call last):
File "<string>", line 271, in Activated
File "<string>", line 1, in <module>
File "C:\Users\stou9\AppData\Roaming\FreeCAD\Mod\nurbs\nurbswb\createsketchspline.py", line 9, in <module>
from scipy.signal import argrelextrema
Do I need to install scipy.signal package manually to get it work?

Silk errors:
Running the Python command 'ControlPoly4' failed:
Traceback (most recent call last):
File "C:\Users\stou9\AppData\Roaming\FreeCAD\Mod\Silk\ControlPoly4.py", line 42, in Activated
print mode

local variable 'mode' referenced before assignment
Do I need to set some variables somewhere?
Last edited by Stou on Tue Jan 29, 2019 2:23 pm, edited 1 time in total.
User avatar
microelly2
Veteran
Posts: 4688
Joined: Tue Nov 12, 2013 4:06 pm
Contact:

Re: Nerbs and Silk errors

Post by microelly2 »

Stou wrote: Mon Jan 28, 2019 2:10 pm Do I need to install scipy.signal package manually to get it work?
Yes the complete scipy package is required for a lot of the methods in nurbs wb.
Stou
Posts: 40
Joined: Mon Dec 31, 2018 12:24 pm
Location: Laval, Québec, Canada
Contact:

Re: Nerbs and Silk errors

Post by Stou »

Thanks microelly2!

I installed WinPython 3.6.7.0 which included scipy. In GitHub, I downloaded and installed Winpython64-3.7.1.0.exe (461mb) but there's also Winpython64-3.7.1.0Zero.exe (27mb).

There's no info on what is the 3.7.1.0Zero package. Any idea? Do I need to install the Zero package too?

But only with the one I installed, it seem to work fine. But I didn't do many things with it for now, I have to read about Nerbs and Silk to lear it a little bit.
Stou
Posts: 40
Joined: Mon Dec 31, 2018 12:24 pm
Location: Laval, Québec, Canada
Contact:

Re: Nerbs and Silk errors

Post by Stou »

I talked to fast, I still have problem with variables in Silk.
local variable 'mode' referenced befor assignmentHide main window
User avatar
microelly2
Veteran
Posts: 4688
Joined: Tue Nov 12, 2013 4:06 pm
Contact:

Re: Nerbs and Silk errors

Post by microelly2 »

Stou wrote: Mon Jan 28, 2019 6:46 pm I talked to fast, I still have problem with variables in Silk.
local variable 'mode' referenced befor assignmentHide main window
emills2 wrote: Fri May 25, 2018 6:29 am ping
Stou
Posts: 40
Joined: Mon Dec 31, 2018 12:24 pm
Location: Laval, Québec, Canada
Contact:

Re: Nerbs and Silk errors

Post by Stou »

microelly2 wrote: Mon Jan 28, 2019 7:22 pm
Stou wrote: Mon Jan 28, 2019 6:46 pm I talked to fast, I still have problem with variables in Silk.
local variable 'mode' referenced befor assignmentHide main window
emills2 wrote: Fri May 25, 2018 6:29 am ping
??? I don't understand!
User avatar
microelly2
Veteran
Posts: 4688
Joined: Tue Nov 12, 2013 4:06 pm
Contact:

Re: Nerbs and Silk errors

Post by microelly2 »

Stou wrote: Mon Jan 28, 2019 8:23 pm ??? I don't understand!
this is a common trick to send emills a notification to read this thread.
Stou
Posts: 40
Joined: Mon Dec 31, 2018 12:24 pm
Location: Laval, Québec, Canada
Contact:

Re: Nerbs and Silk errors

Post by Stou »

Ok, you sent a ping to emills! :lol:
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Nerbs and Silk errors

Post by Kunda1 »

Stou wrote: Tue Jan 29, 2019 11:03 am
Hey @Stou would you be kind enough to edit the title of the first post of this thread from Nerbs to Nurbs please? Thanks.
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Stou
Posts: 40
Joined: Mon Dec 31, 2018 12:24 pm
Location: Laval, Québec, Canada
Contact:

Re: Nurbs and Silk errors

Post by Stou »

Done! Thanks, I didn't noticed that typo.
Post Reply