Non gui Mesh operations

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
Post Reply
dandanTT
Posts: 1
Joined: Fri Oct 15, 2021 8:02 pm

Non gui Mesh operations

Post by dandanTT »

Hi all, Is there a way to use the "FreeCADGui.runCommand('MeshPart_TrimByPlane')" in python command without manually choosing "Above" (or below or split) from the popped out GUI?
Screenshot 2021-10-15 160910.png
Screenshot 2021-10-15 160910.png (14.07 KiB) Viewed 646 times
OS: Windows 10 Version 2009
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.24291 (Git)
Build type: Release
Branch: releases/FreeCAD-0-19
Hash: 7b5e18a0759de778b74d3a5c17eba9cb815035ac
Python version: 3.8.6+
Qt version: 5.15.2
Coin version: 4.0.1
OCC version: 7.5.0
Locale: English/United States (en_US)
wmayer
Founder
Posts: 20302
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: Non gui Mesh operations

Post by wmayer »

No, this is not possible at the moment because the corresponding C++ function is not yet exposed to Python.
Post Reply