Search found 4692 matches
- Wed Nov 15, 2017 1:55 pm
- Forum: Python scripting and macros
- Topic: Shape2View in Makro
- Replies: 6
- Views: 1060
Re: Shape2View in Makro
hi I do not understand ! (ps: use the Code button for your code) # -*- coding: utf-8 -*- # Set the current view perpendicular to the selected face # Place la vue perpendiculairement à la face selectionnee # 2013 Jonathan Wiedemann, 2016 Werner Mayer import FreeCAD,Draft from pivy import coin def poi...
- Wed Nov 15, 2017 1:12 pm
- Forum: Forum français
- Topic: [Assembly 2] Faire pivoter sur 360°
- Replies: 13
- Views: 2869
Re: [Assembly 2] Faire pivoter sur 360°
Bonjour j'ai modifié votre script pour qu'il fonctionne avec deux objets sélectionnés (et non spécifiques comme dans votre macro) j'ai inversé les lignes pour avoir la rotation avec la première sélection , ainsi la macro (qui fera la rotation 360 degrés sur une sélection) peut être utilisée par Dens...
- Mon Nov 13, 2017 9:26 am
- Forum: Python scripting and macros
- Topic: Shape2View in Makro
- Replies: 6
- Views: 1060
Re: Shape2View in Makro
hi
try:
mario
try:
Code: Select all
import FreeCAD,Draft
App = FreeCAD
sel = FreeCADGui.Selection.getSelection() # objects selected
Draft.makeShape2DView(sel[0]) # sel[0] first object selected
App.ActiveDocument.recompute()
- Sat Nov 11, 2017 2:41 pm
- Forum: Forum in Deutsch
- Topic: Non Planar Surface in Workfeatures WB
- Replies: 21
- Views: 3130
Re: Non Planar Surface in Workfeatures WB
hi want to test this version unzip the file WF_2015.7z and copy the file in the WorkFeature insteat the original file and delete all files ".pyc" and start FreeCAD i modify the search font directly in the preference Draft font and correctly the rotation "Placement instead Rotate"...
- Fri Nov 10, 2017 10:18 am
- Forum: Forum in Deutsch
- Topic: Non Planar Surface in Workfeatures WB
- Replies: 21
- Views: 3130
Re: Non Planar Surface in Workfeatures WB
hi i have tray the feature and the result, the panel "Non Planar Surface" is displayed and the Report view display ... NonPlanarFace00.png here the error is Font file not found and not cause with face or surface what does your "Report view " display ? PS:I do not know how to chan...
- Fri Nov 03, 2017 5:22 pm
- Forum: Python scripting and macros
- Topic: Add widget - top area
- Replies: 2
- Views: 715
Re: Add widget - top area
hi adapt this snippet (QtGui.QDockWidget()) myNewFreeCADWidget = QtGui.QDockWidget() # create a new dckwidget myNewFreeCADWidget.ui = Ui_MainWindow() # myWidget_Ui() # load the Ui script myNewFreeCADWidget.ui.setupUi(myNewFreeCADWidget) # setup the ui FCmw = FreeCADGui.getMainWindow() # PySide # the...
- Wed Nov 01, 2017 8:37 pm
- Forum: Open discussion
- Topic: Should invest in FreeCad...?
- Replies: 5
- Views: 1603
Re: Should invest in FreeCad...?
hi
good idea instead white color
all in black background and objects , lines white and invert with Gimp
mario
good idea instead white color
all in black background and objects , lines white and invert with Gimp
mario
- Wed Nov 01, 2017 8:14 pm
- Forum: Python scripting and macros
- Topic: Save image for printing
- Replies: 45
- Views: 13294
Re: Save image for printing
hi mangtronix
one suggestion for you, adding one option for adapt your macro for this view (without color B/W) Should invest in FreeCad...?
thanks
mario
one suggestion for you, adding one option for adapt your macro for this view (without color B/W) Should invest in FreeCad...?
thanks
mario
- Wed Nov 01, 2017 7:35 pm
- Forum: Python scripting and macros
- Topic: Determine opened "Document" Type Using Python
- Replies: 1
- Views: 485
Re: Determine opened "Document" Type Using Python
hi list the open windows ( https://forum.freecadweb.org/viewtopic.php?f=22&t=8900 ) from PySide import QtGui mw=FreeCADGui.getMainWindow() dws=mw.findChildren(QtGui.QDockWidget) for i in dws: print i.objectName() the activeWorkbench ( https://forum.freecadweb.org/viewtopic.php?t=5638 ) w=Gui.act...
- Tue Oct 31, 2017 11:29 am
- Forum: Open discussion
- Topic: Should invest in FreeCad...?
- Replies: 5
- Views: 1603
Re: Should invest in FreeCad...?
hi
little example
mario
little example
mario