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
| bl_info = { | |
| "name": "FreeCAD Importer", | |
| "category": "Import-Export", | |
| "author": "Yorik van Havre", | |
| "version": (5, 0, 0), | |
| "blender": (2, 80, 0), | |
| "location": "File > Import > FreeCAD", | |
| "description": "Imports a .FCStd file from FreeCAD", | |
| "warning": "This addon needs FreeCAD installed on your system. Only Part- and Mesh-based objects supported at the moment.", | |
| } |
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
| #!/usr/bin/env python | |
| import lx | |
| import lxu.command | |
| import lxifc | |
| class SetMarks (lxifc.Visitor): | |
| def __init__ (self, acc, mark): | |
| self.acc = acc | |
| self.mark = mark |
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
| #!/usr/bin/env python | |
| import lx | |
| import lxifc | |
| import lxu.command | |
| class SelectByColor_Vis(lxifc.Visitor): | |
| def __init__(self, mesh, point, vmapID, rgb, selMode, sel_svc, vtx_pkt_trans, sel_type_vert): | |
| self.mesh = mesh | |
| self.point = point |
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
| # Command for freezing a morph to a new mesh. | |
| # 1. Select a morph map | |
| # 2. run morph.freezeToMesh | |
| # 3. A new mesh bearing the name of the morph map will be created, with the frozen morph shape in it. | |
| import lx | |
| import lxu | |
| import lxifc | |
| import modo |
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
| import time | |
| import lx | |
| dialog_svc = lx.service.StdDialog() | |
| # Allocate monitor | |
| mon = lx.object.Monitor(dialog_svc.MonitorAllocate('Calculating Center Of Mass ...')) | |
| steps = 50 |
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
| ################################################################################ | |
| # | |
| # SetMeshInstance.py | |
| # | |
| # Version: 0.1 | |
| # | |
| # Author: Ivo Grigull | |
| # | |
| # Last Update: 10/06/2015 | |
| # |
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
| #!/usr/bin/env python | |
| # To install this plugin, simply copy this file (selectAxisUVs.py) into folder called "lxserv" in your modo scripts folder (and restart modo, if it's open). | |
| # If you are unsure where your modo scripts folder is, you can open modo, then select System > Open User Scripts Folder. | |
| # If there is no folder called "lxserv" in your MODO Scripts folder, simply create one and then put this file in there. | |
| # Once MODO has been restarted, you can run the command via ffr.selectaxisuv | |
| # | |
| # Any issues, please drop me a line at jamesohare@gmail.com. | |
| # | |
| # James O'Hare |