- Document objects are mixed with other attributes in
App.ActiveDocument. I would suggest to usedocinstead ofApp.ActiveDocumentand e.g.objs.Boxinstead ofApp.ActiveDocument.Box.doc.Objectswould continue to be the list of children. App.Rotationtakes angle(s) in degrees as input butRotation.Angleis in radians.App.Quantity.getValueAsreturns a unit-less quantity instead of a floatgetGlobalPlacementdoes not return the global placement.App.GuiUpis not available at the start of FreeCAD.- FreeCAD has it's own
PySidebut not under a different name. - There are several way to import FreeCAD (
import FreeCAD as Appandimport freecad as App) but they are not equivalent.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| WINEPREFIX=/home/gael/.PlayOnLinux/wineprefix/AdobeDigitalEditions45 | |
| WINEARCH=win32 | |
| PATH=~/.PlayOnLinux/wine/linux-x86/4.21/bin:$PATH | |
| wine msiexec /i /tmp/python-2.7.16.msi /L'*v' log.txt | |
| wine msiexec /i /tmp/VCForPython27.msi /L'*v' log.txt | |
| wine pip.exe install PyCrypto | |
| wine python.exe "/home/gael/.config/calibre/plugins/DeDRM/libraryfiles/adobekey.py" "/home/gael/.config/calibre/plugins/DeDRM/libraryfiles/winekeysdir" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # Preliminary conditions: | |
| # Ubuntu 18.04 | |
| # sudo apt install winbind playonlinux | |
| # Add wine 4.21 32 bit to PlayOnLinux through the GUI. | |
| # Download ADE_4.5_Installer.exe to /tmp. | |
| WINEPREFIX=$HOME/.PlayOnLinux/wineprefix/AdobeDigitalEditions45 | |
| WINEARCH=win32 | |
| WINE=$HOME/.PlayOnLinux/wine/linux-x86/4.21/bin/wine |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # -*- coding: utf-8 -*- | |
| ########################################################################## | |
| # YouCompleteMe configuration for ROS # | |
| # Author: Gaël Ecorchard (2015) # | |
| # # | |
| # The file requires the definition of the $ROS_WORKSPACE variable in # | |
| # your shell. # | |
| # Name this file .ycm_extra_conf.py and place it in $ROS_WORKSPACE to # | |
| # use it. # |