Can't install Mod"optical ray tracing"
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Can't install Mod"optical ray tracing"
Hi,
I Would like to install this mod "optical ray tracing
Based on Python" from Github,
I followed instructions, but when i execute
Build_rcc.sh with cygwin, i have this issue "
Pyside_rcc not found.."
Must i re install pyside? And how do it?
I use last release of freecad(0.16).
Could you help me?
Thank's all
I Would like to install this mod "optical ray tracing
Based on Python" from Github,
I followed instructions, but when i execute
Build_rcc.sh with cygwin, i have this issue "
Pyside_rcc not found.."
Must i re install pyside? And how do it?
I use last release of freecad(0.16).
Could you help me?
Thank's all
- DeepSOIC
- Veteran
- Posts: 7896
- Joined: Fri Aug 29, 2014 12:45 am
- Location: used to be Saint-Petersburg, Russia
Re: Can't install Mod"optical ray tracing"
Hi!
First, provide full FreeCAD info, as described here: viewtopic.php?f=3&t=2264
In particular, what kind of OS you are using.
Second, I've no idea what "optical ray tracing Based on Python" from Github is. Can you provide a link? I am interested in that kind of stuff!
EDIT: on Windows, I have PySide-rcc.exe in bin folder of FreeCAD installation. You may need to add path to it to PATH environment variable.
First, provide full FreeCAD info, as described here: viewtopic.php?f=3&t=2264
In particular, what kind of OS you are using.
Second, I've no idea what "optical ray tracing Based on Python" from Github is. Can you provide a link? I am interested in that kind of stuff!
EDIT: on Windows, I have PySide-rcc.exe in bin folder of FreeCAD installation. You may need to add path to it to PATH environment variable.
Re: Can't install Mod"optical ray tracing"
Thank for your response,
https://github.com/mess42/pyrate/blob/master/README.md,
I 've attached the link for optical design with freecad.
For pyside_rcc.exe, i don't find it, i use freecad
On Windows 7 64 bits,
Best regards
https://github.com/mess42/pyrate/blob/master/README.md,
I 've attached the link for optical design with freecad.
For pyside_rcc.exe, i don't find it, i use freecad
On Windows 7 64 bits,
Best regards
- DeepSOIC
- Veteran
- Posts: 7896
- Joined: Fri Aug 29, 2014 12:45 am
- Location: used to be Saint-Petersburg, Russia
Re: Can't install Mod"optical ray tracing"
Hm, indeed. It's not included. It is included with Libpack - a package of precompiled libraries needed for building FreeCAD. Download one here:Fastpulse wrote:For pyside_rcc.exe, i don't find it, i use freecadOn Windows 7 64 bits,
https://github.com/FreeCAD/FreeCAD/releases
("FreeCADLibs_11.3_x64_VC12.7z ", for example. If you want to build FreeCAD, the libpack must match your compiler, but if you only need PySide-rcc, then any will do).
Well, you can install PySide, of course
Re: Can't install Mod"optical ray tracing"
Code: Select all
During initialization the error No module named scipy.optimize occurred in C:\Users\sim\Desktop\BodyBase4.orig\Mod\pyrate-master\InitGui.py
You could try the 0.16.6704 x86 version. You would need to add a 32 bit Scipy to FreeCAD/bin/Lib/site-packages directory. You may also have to replace numpy and matplot lib with a version from the same place you find Scipy so they all play nice together.
"fight the good fight"
Re: Can't install Mod"optical ray tracing"
Hello,
I have install Pyside, but i have same problem, when i launch build_rc with Cygwin64, this message appear 'pyside-rcc : command not found'
Do you have a solution?
someone tried this mod?
best regards
OS: Windows 8.1
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.16.6704 (Git)
Build type: Release
Branch: releases/FreeCAD-0-16
Hash: 0c449d7e8f9b2b1fb93e3f8d1865e2f59d7ed253
Python version: 2.7.8
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17
I have install Pyside, but i have same problem, when i launch build_rc with Cygwin64, this message appear 'pyside-rcc : command not found'
Do you have a solution?
someone tried this mod?
best regards
OS: Windows 8.1
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.16.6704 (Git)
Build type: Release
Branch: releases/FreeCAD-0-16
Hash: 0c449d7e8f9b2b1fb93e3f8d1865e2f59d7ed253
Python version: 2.7.8
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17
Re: Can't install Mod"optical ray tracing"
Hi,
I am really sorry, I did not realize that anybody is using our workbench . The pyside-rcc step is not necessary since we updated
the resource files before pushing to github. (I will fix this in the readme file.) So in fact the only remaining problem is that scipy is (still) not available for win64. But scipy is really necessary for the workbench due to its optimization toolbox.
Since all authors of the pyrate toolbox use Linux we just don't have these win64 related problems. Although it would be nice
if there would be a solution for the scipy problem to have pyrate (and its workbench) available under win64.
Notice that the core code of the optical raytracing and the workbench (which lies on top of the core code) are still subject of heavy development.
Therefore the code is still not in a ready-to-use state.
Best wishes
Johannes
I am really sorry, I did not realize that anybody is using our workbench . The pyside-rcc step is not necessary since we updated
the resource files before pushing to github. (I will fix this in the readme file.) So in fact the only remaining problem is that scipy is (still) not available for win64. But scipy is really necessary for the workbench due to its optimization toolbox.
Since all authors of the pyrate toolbox use Linux we just don't have these win64 related problems. Although it would be nice
if there would be a solution for the scipy problem to have pyrate (and its workbench) available under win64.
Notice that the core code of the optical raytracing and the workbench (which lies on top of the core code) are still subject of heavy development.
Therefore the code is still not in a ready-to-use state.
Best wishes
Johannes
Re: Can't install Mod"optical ray tracing"
Quick question... does this already work properly?
Can anyone place here or on github a screenshot or output.
EDIT: OK found some .... really hidden in the wiki... a eyecatcher at the first page would be nice:
https://github.com/mess42/pyrate/wiki/Field-sampling
Maybe this could be combined with the work done over here https://forum.freecadweb.org/viewtopic. ... 9&start=10
BR,
HoWil
Can anyone place here or on github a screenshot or output.
EDIT: OK found some .... really hidden in the wiki... a eyecatcher at the first page would be nice:
https://github.com/mess42/pyrate/wiki/Field-sampling
Maybe this could be combined with the work done over here https://forum.freecadweb.org/viewtopic. ... 9&start=10
BR,
HoWil
Re: Can't install Mod"optical ray tracing"
Hi HoWil
thanks for submitting the issue! The FreeCAD workbench is only in some demo mode, yet. You can play around a bit, but cannot
do some serious stuff. Unfortunately mess42 and I did some major rearrangements in the core code of this package this weekend and therefore we have to further fix our core code first. I think the FreeCAD workbench is broken at the moment. I will try to fix it as fast as I can, but there are also some conceptional issues. To your second question: The goal is a scientific ray tracer which is different from photo realistic rendering of images. We try to couple CAD together with classical optical design tools to be able to design for example an objective for some camera from scratch.
Anyway, I will try to add the workbench to the addon manager.
Best wishes
Johannes
thanks for submitting the issue! The FreeCAD workbench is only in some demo mode, yet. You can play around a bit, but cannot
do some serious stuff. Unfortunately mess42 and I did some major rearrangements in the core code of this package this weekend and therefore we have to further fix our core code first. I think the FreeCAD workbench is broken at the moment. I will try to fix it as fast as I can, but there are also some conceptional issues. To your second question: The goal is a scientific ray tracer which is different from photo realistic rendering of images. We try to couple CAD together with classical optical design tools to be able to design for example an objective for some camera from scratch.
Anyway, I will try to add the workbench to the addon manager.
Best wishes
Johannes
Last edited by joha2 on Mon Apr 03, 2017 12:39 pm, edited 1 time in total.
Re: Can't install Mod"optical ray tracing"
https://forum.freecadweb.org/viewtopic. ... 70#p165770joha2 wrote:We try to couple CAD together with classical optical design tools to be able to design for example an objective for some camera from scratch.
Hi,
may be @DeepSOIC can be interested tooDeepSOIC wrote:https://forum.freecadweb.org/viewtopic. ... 770#p72745
EDIT
oops I see that @HoWil was faster