Search found 767 matches

Go to advanced search

by looo
Mon Apr 24, 2017 5:41 pm
Forum: Install / Compile
Topic: ana(conda) windows packaging
Replies: 134
Views: 2367

Re: ana(conda) windows packaging

FreeCAD occt7.1.0 version is uploaded.
by looo
Mon Apr 24, 2017 3:57 pm
Forum: Open discussion
Topic: "Solid" clipping plane
Replies: 18
Views: 1089

Re: "Solid" clipping plane

very interesting progresses looo! Didn't think there was something liek that available at coin level already... it isn't yet available with coin. My code implement the capping at opengl-level. But it is very nice that this is possible from python... I have done some further tests, but didn't find a...
by looo
Mon Apr 24, 2017 3:03 pm
Forum: Python scripting and macros
Topic: permanet setting of pathes to extern modules
Replies: 4
Views: 75

Re: permanet setting of pathes to extern modules

microelly2 wrote:What problem do you think :?:


cv2 installs the python-bindings to a wrong directory...
by looo
Sun Apr 23, 2017 9:11 pm
Forum: Python scripting and macros
Topic: FC crash with SoNodeSensor
Replies: 4
Views: 85

Re: FC crash with SoNodeSensor

I have already asked at the coin mailing list if there is a chance to merge my branch into the official pivy branch. But I don't think this will happen soon.


At the moment there are some more issues to be resolved, but once this is done, I will try to create a 0.6.x release for pivy.
by looo
Sun Apr 23, 2017 12:42 pm
Forum: Python scripting and macros
Topic: permanet setting of pathes to extern modules
Replies: 4
Views: 75

Re: permanet setting of pathes to extern modules

maybe a user-startup-file would be a good idea? Something like .bashrc or .pythonrc. As a workaround you can use a startupMod (create file: .FreeCAD/Mod/startUp/Init.py and place the sys.path modifications there)

Maybe someone can report the problem with cv2 install-dir to the developers of cv2?
by looo
Sun Apr 23, 2017 11:09 am
Forum: Python scripting and macros
Topic: FC crash with SoNodeSensor
Replies: 4
Views: 85

Re: FC crash with SoNodeSensor

seems to work with the pivy-branch I am using. (At least no crash)
I have added some of these fixes to my branch recently... https://github.com/looooo/pivy
by looo
Sun Apr 23, 2017 10:21 am
Forum: Open discussion
Topic: "Solid" clipping plane
Replies: 18
Views: 1089

Re: "Solid" clipping plane

Is this possible without blocking the Task-panel as the original clipping tool does? Maybe the SoClipPlanManip node could be useful. I think drawing the cap is not that important for this task. from pivy import coin sg = Gui.ActiveDocument.ActiveView.getSceneGraph() clip_plane = coin.SoClipPlaneMan...
by looo
Sat Apr 22, 2017 9:33 pm
Forum: Open discussion
Topic: "Solid" clipping plane
Replies: 18
Views: 1089

Re: "Solid" clipping plane

Yes, after playing with the stencil-buffer another time, the problem with the selection is gone. Currently the algorithm has some problems with the sketcher (crash) and there are still some small artifacts with lines... Also I do not know how to draw the capping-plane. Somehow the size has to be spe...
by looo
Sat Apr 22, 2017 6:58 am
Forum: Open discussion
Topic: "Solid" clipping plane
Replies: 18
Views: 1089

Re: "Solid" clipping plane

using a SoCallback works also in FreeCAD: (still only python code + some changes in pivy to make the SoCallback work with freecad)
gear_cap.png
gear_cap.png (15.15 KiB) Viewed 225 times


but selection makes some problems...
selection_problem.png
selection_problem.png (19.17 KiB) Viewed 225 times


Is there a way to disable the selection for some renderBelowPath calls?
by looo
Fri Apr 21, 2017 2:23 pm
Forum: Open discussion
Topic: "Solid" clipping plane
Replies: 18
Views: 1089

Re: "Solid" clipping plane

again some references: coin adds the clipPlane here: https://github.com/looooo/coin3d/blob/master/src/elements/GL/SoGLClipPlaneElement.cpp#L131L144 the plane gets removed when this function is called: https://github.com/looooo/coin3d/blob/master/src/elements/GL/SoGLClipPlaneElement.cpp#L87L100 The e...

Go to advanced search