Search found 10 matches

by Yan
Mon May 30, 2016 11:45 am
Forum: Users Showcase
Topic: call for screenshots - By Yorik
Replies: 381
Views: 669274

Re: call for screenshots - By Yorik

gear assembly
by Yan
Mon May 16, 2016 2:09 pm
Forum: Python scripting and macros
Topic: Screw Maker
Replies: 113
Views: 72972

Re: Screw Maker

working - confirmed that it's OCC issue OS: Linux Word size of OS: 64-bit Word size of FreeCAD: 64-bit Version: 0.16.Unknown Build type: Release Python version: 2.7.11 Qt version: 4.8.7 Coin version: 3.1.3 OCC version: 6.8.0 >>> execfile("/home/yan/documents/bench/freecad/modding/face_test2.py...
by Yan
Mon May 16, 2016 11:34 am
Forum: Python scripting and macros
Topic: Screw Maker
Replies: 113
Views: 72972

Re: Screw Maker

Ok, i will try to recompile with OCC 6.8.0 . ulrich1a: Ok, so i should: 1. get FreeCAD-Sandbox-Workbench 2. generate "wrong cutting tool" (and "correct cutting tool" with two aproppiate OCC versions) 3. export those freecad objects into Drawexe-command Is that correct? EDIT2: OCC...
by Yan
Mon May 16, 2016 8:14 am
Forum: Python scripting and macros
Topic: Screw Maker
Replies: 113
Views: 72972

Re: Screw Maker

tried to recompile freecad with older version of python. OS: Linux Word size of OS: 64-bit Word size of FreeCAD: 64-bit Version: 0.16.Unknown Build type: Release Python version: 2.7.8 Qt version: 4.8.7 Coin version: 3.1.3 OCC version: 6.9.1 still wrong result , so it's not python, will try to contin...
by Yan
Sun May 15, 2016 8:46 pm
Forum: Python scripting and macros
Topic: Screw Maker
Replies: 113
Views: 72972

Re: Screw Maker

Hi ulrich1a, pleasure on my side. incorrect cutting tool as usual :mrgreen: Looks like both axis vectors are inverted: >>> execfile("/home/yan/documents/bench/freecad/modding/face_test2.py") disk-Orientation: Forward disk-Surface: <Plane object> disk-axis: Vector (0.0, 0.0, 1.0) hex-Orient...
by Yan
Sun May 15, 2016 6:14 pm
Forum: Python scripting and macros
Topic: Screw Maker
Replies: 113
Views: 72972

Re: Screw Maker

Hi ulrich1a, thx for your macro. ;) About face_test.py: Both (makeHextool, makeHextool2) gave me the "wrong" hex-cutting-tool - deformed same way as in original code. Relation to problem you mentioned in previous msg looks very probably to me, but I'm not coder. From that link only thing I...
by Yan
Sun May 15, 2016 7:24 am
Forum: Python scripting and macros
Topic: Screw Maker
Replies: 113
Views: 72972

Re: Screw Maker

Hi, I have same OS as kkosvik. There is only one problem with that single operation where "cutting tool" for head is created. My personal guess is that problem is in different version of Python2, but it is only guess "based on absolutely nothing". Operation which was wrong was ma...
by Yan
Sat May 14, 2016 1:02 pm
Forum: Python scripting and macros
Topic: Screw Maker
Replies: 113
Views: 72972

Re: Screw Maker

SOLVED took me quite a while .. def makeHextool(self,s_hex, k_hex, cir_hex): # makes a cylinder with an inner hex hole, used as cutting tool # create hexagon face mhex=Base.Matrix() mhex.rotateZ(math.radians(60.0)) polygon = [] vhex=Base.Vector(s_hex/math.sqrt(3.0),0.0,-k_hex*0.1) for i in range(6)...
by Yan
Sat May 14, 2016 10:25 am
Forum: Python scripting and macros
Topic: Screw Maker
Replies: 113
Views: 72972

Re: Screw Maker

Hi, nice work, looks like very useful piece of code ;) I've issue with screw-maker script. 4014, 4017, 4032,4033 and 4035 hex's looks like broken in my case (probably some boolean operation is inverted, attached image should be self-explanatory). Screws which are not "hex-based" work's fin...
by Yan
Sat May 14, 2016 7:06 am
Forum: Wiki
Topic: How to get wiki editing permissions
Replies: 360
Views: 531394

Re: How to get wiki editing permissions

Hi, i would like to get wiki editing permission. I'm new so I need to have at least one post to write PM for wiki permission, that it the reason why I'm doing it this way. I had an issue with finding "draft preferences" in "edit -> preferences", it took me quite a while till i fo...