Search found 2552 matches

Go to advanced search

by mario52
Sat Jun 01, 2019 11:35 am
Forum: Forum Italiano
Topic: intersezione fra rette
Replies: 3
Views: 127

Re: intersezione fra rette

saluti

prova cosi:

seleziona le due linee

Code: Select all

import DraftGeomUtils
sel=Gui.Selection.getSelection()
print(DraftGeomUtils.findIntersection(sel[0].Shape.Edges[0],sel[1].Shape.Edges[0]))
intersection between two lines
mario
by mario52
Fri May 31, 2019 7:00 pm
Forum: Forum français
Topic: Sérieux problème - Les macros sous V0.18 Release (16093)
Replies: 16
Views: 562

Re: Sérieux problème - Les macros sous V0.18 Release (16093)

Bonjour

merci, pour trop de chiffres c'est normal, dans la prochaine version on pourra afficher le nombre de décimales au choix

avez vous travaillé avec l'écran en haute définition (PPP élevés) ?

mario
by mario52
Fri May 31, 2019 4:43 pm
Forum: Forum français
Topic: Sérieux problème - Les macros sous V0.18 Release (16093)
Replies: 16
Views: 562

Re: Sérieux problème - Les macros sous V0.18 Release (16093)

Bonjour

nouvelle version FCInfo_fr_Ver_1-21-rmu_Docked.FCMacro avec GUI modifié par mru75 il est maintenant extensible et peut être corrigé pour les écans HDPI (pour mémo forum FCInfo Macro)

merci pour les retours

mario
by mario52
Fri May 31, 2019 4:22 pm
Forum: Help on using FreeCAD
Topic: FCInfo Macro
Replies: 70
Views: 8134

Re: FCInfo Macro

hi

new version GUI modified by rmu75 FCInfo_en_Ver_1-21-rmu_Docked.FCMacro

thank for report appreciation of the GUI (window, text, ...) and HDPI

mario
by mario52
Thu May 30, 2019 11:43 am
Forum: Python scripting and macros
Topic: SelectionObserver question
Replies: 5
Views: 190

Re: SelectionObserver question

hi

in the Chris_G you must adding :

Code: Select all

    def setPreselection(self,doc,obj,sub):                # Preselection object
        App.Console.PrintMessage(str(sub)+ "\n")          # The part of the object name
see Code_snippets for the complete code and many other

mario
by mario52
Thu May 30, 2019 10:00 am
Forum: Help on using FreeCAD
Topic: [Solved] Autohide for Combo View
Replies: 4
Views: 211

Re: Autohide for Combo View

hi maybe with a button (flip/flop) Unchecked "Python console" and "Report view" #http://forum.freecadweb.org/viewtopic.php?f=22&t=9101 import PySide from PySide import QtGui mw=Gui.getMainWindow() dw=mw.findChildren(QtGui.QDockWidget) r=mw.findChild(QtGui.QDockWidget, "Combo View") if r.isVisible():...
by mario52
Mon May 27, 2019 2:38 pm
Forum: Help on using FreeCAD
Topic: FCInfo Macro
Replies: 70
Views: 8134

Re: FCInfo Macro

hi I copied the newest version from here. https://gist.github.com/mario52a/8d40ab6c018c2bde678f I have created a new macro, assigned a name, e.g. fcinfo1.21, copied the whole text of the macro into it, closed it and saved it. then this link is the latest version in English 1.21 French version 1.21 E...
by mario52
Mon May 27, 2019 2:20 pm
Forum: Help on using FreeCAD
Topic: FCInfo Macro
Replies: 70
Views: 8134

Re: FCInfo Macro

freecad-heini-1 wrote:
Mon May 27, 2019 2:10 pm
Code: Select all

#
__title__ = "FCInfo"
__author__ = "Mario52"
__url__ = "http://www.freecadweb.org/index-en.html"
__version__ = "01.20"
__date__ = "29/01/2018"
hi

it is this macro that works very well ?

mario
by mario52
Mon May 27, 2019 12:23 pm
Forum: Help on using FreeCAD
Topic: FCInfo Macro
Replies: 70
Views: 8134

Re: FCInfo Macro

hi I have created a new macro, assigned a name, e.g. fcinfo1.21, copied the whole text of the macro into it, closed it and saved it. the macro Fr , En , It are identical only the text change , are you sure to work with other version on the precedent macro and same object as before ? i compare 2 macr...

Go to advanced search