Search found 3236 matches

Go to advanced search

by mario52
Mon Jul 21, 2014 8:28 pm
Forum: Install / Compile
Topic: FreeCad 0.14 x86: Error: Pivy not found
Replies: 13
Views: 3260

Re: FreeCad 0.14 x86: Error: Pivy not found

hi You can try simply to replace all occurences of "from PyQt4 import ..." with "from PySide import ..." in your macro, with a bit of luck that will be enough to solve the problem. in addition to changing all PyQt4 in PySide here few some modifications to adapt PyQt4 to PySide (observed in my macro)...
by mario52
Mon Jul 21, 2014 8:19 pm
Forum: Developers corner
Topic: PySide migration
Replies: 124
Views: 27161

Re: PySide migration

hi in addition to changing all PyQt4 in PySide here few some modifications to adapt PyQt4 to PySide (observed in my macro) unicode : # text = unicode(text, 'ISO-8859-1').encode('UTF-8') # PyQt4 change by text = text.encode('utf-8') # PySide ________________________________________________ QFileDialo...
by mario52
Mon Jul 21, 2014 2:16 pm
Forum: Help on using FreeCAD
Topic: Exact Array Intervals
Replies: 8
Views: 678

Re: Exact Array Intervals

hi
an example of the possibilities Difficulties with working with small distances
mario
by mario52
Sun Jul 20, 2014 12:05 pm
Forum: Help on using FreeCAD
Topic: Trying to calculate volume
Replies: 9
Views: 11631

Re: Trying to calculate volume

hi
keithsloan52 wrote:I think somebody used it as the basis for a macro.
Macro_FCInfo and it is useful to me
mario
by mario52
Sun Jul 20, 2014 11:29 am
Forum: Help on using FreeCAD
Topic: Question about rotating in 3D space
Replies: 3
Views: 772

Re: Question about rotating in 3D space

hi
here there is a macro Macro View Rotation that allows the rotation of the camera and editing it a little you can rotate at a specific point.
change the line

Code: Select all

   centre = FreeCAD.Vector((xmax+xmin)/2.0, (ymax+ymin)/2.0, (zmax+zmin)/2.0)
at

Code: Select all

   centre = FreeCAD.Vector( 200, -35, 19.567)
mario
by mario52
Wed May 14, 2014 7:53 pm
Forum: Users Showcase
Topic: Texture
Replies: 39
Views: 14897

Re: Texture

Image converted to ascii characters

Image
(not yet implemented)
mario
by mario52
Wed May 14, 2014 7:43 pm
Forum: Open discussion
Topic: ASCII art
Replies: 3
Views: 1459

Re: ASCII art

hi with a change (for testing and not finished) in my Macro_FCTexture function but it does not take all the characters (and can be saved in an ascii file) http://www.freecadweb.org/wiki/images/e/e2/FCTexture_007_FreeCAD_ASCII_00.png special character are accepted but will not be displayed on the scr...
by mario52
Thu May 08, 2014 8:25 pm
Forum: Wiki
Topic: Macros recipes
Replies: 9
Views: 2849

Re: Macros recipes

hi renatorivo
I do not know, I downloaded and tested the 3 files the macro made ​​the same mistake that the version of wmayer but I do not know mesh and I do not know correct, wmayer must look ! if it goes here.
mario
by mario52
Thu May 08, 2014 5:16 pm
Forum: Wiki
Topic: Macros recipes
Replies: 9
Views: 2849

Re: Macros recipes

hi
I replaced the tab in space in python it is not good to mix spaces and tabs ( gives an error indentation )
for the error I do not know but I found the post Re: Convert mesh to solid? I'll add it to the page
mario
by mario52
Thu May 08, 2014 9:53 am
Forum: Wiki
Topic: Macros recipes
Replies: 9
Views: 2849

Re: Macros recipes

hi renatorivo try changing these lines 19 and 20 makeSolid = True #1 isFrenet = True #1 <type 'exceptions.TypeError'>: must be bool, not int True = bool ( <type 'exceptions.TypeError'>: must be bool, ) 1 = int ( not int ) OK on OS: Windows Vista Platform: 32-bit Version: 0.14.3389 Python version: 2....

Go to advanced search