- Document objects are mixed with other attributes in
App.ActiveDocument
. I would suggest to usedoc
instead ofApp.ActiveDocument
and e.g.objs.Box
instead ofApp.ActiveDocument.Box
.doc.Objects
would continue to be the list of children. App.Rotation
takes angle(s) in degrees as input butRotation.Angle
is in radians.App.Quantity.getValueAs
returns a unit-less quantity instead of a floatgetGlobalPlacement
does not return the global placement.App.GuiUp
is not available at the start of FreeCAD.- FreeCAD has it's own
PySide
but not under a different name. - There are several way to import FreeCAD (
import FreeCAD as App
andimport freecad as App
) but they are not equivalent.
This file contains 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 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 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. # |