2D Sketch Showcase 1785708902a0807b853cd77debf081ad.md
2DSKETCHPOLYGONTOSPLINETOOL 1885708902a080fdb6dff0567b4bf9c7.md
3D Sketch Showcase 1785708902a080abbf80de769e06e6d0.md
20 Circles 1785708902a080a3b802c178b3f80995.md
| import sys | |
| from AlibreScript.API import * | |
| # Ensure we are using millimeters for script units | |
| Units.Current = UnitTypes.Millimeters | |
| # Create a new part | |
| part = CurrentPart() | |
| # Create parameters (C - Create) | |
| def create_parameters(): |
| # created with Alibre Script Genie by Stephen S. Mitchell, https://github.com/stephensmitchell | |
| import sys | |
| SCRIPT_NAME = "Fix Parameter Type Check (asgenie)" | |
| def printTraceBack(): | |
| import traceback | |
| print('\n--------------\n' + str(traceback.format_exc()) + '--------------\n') |
| void Main() | |
| { | |
| Console.WriteLine("=== AlibreObjectModel Version Info ==="); | |
| Console.WriteLine($"Assembly Version: {AlibreObjectModel.Version.AssemblyVersion}"); | |
| Console.WriteLine($"File Version: {AlibreObjectModel.Version.FileVersion}"); | |
| Console.WriteLine($"Informational Version: {AlibreObjectModel.Version.InformationalVersion}"); | |
| Console.WriteLine($"Build Timestamp: {AlibreObjectModel.Version.InternalBuildDateTimeStampVersion}"); | |
| Console.WriteLine(); |
| { | |
| "Uuid": "2a4c37a1-3206-4b01-bbd9-27229e4f34be", | |
| "IsCustomNode": false, | |
| "Description": "", | |
| "Name": "BASIC-MATH-2", | |
| "ElementResolver": { | |
| "ResolutionMap": {} | |
| }, | |
| "Inputs": [], | |
| "Outputs": [], |
| #!/usr/bin/env python | |
| """ | |
| STEP to IFC Converter | |
| Uses FreeCAD to convert STEP files to IFC format. | |
| Usage: | |
| step_to_ifc.py <input_step_file> [output_ifc_file] | |
| If output_ifc_file is not specified, the IFC file will be created | |
| in the same directory as the input STEP file with the same name. |
| from __future__ import division | |
| import sys | |
| import math | |
| from AlibreScript import * | |
| # --- USER CONFIGURATION --- | |
| TARGET_ID = 69 | |
| Units.Current = UnitTypes.Centimeters | |
| # --- SCRIPT CONSTANTS --- |
| # created with Alibre Script Genie by Stephen S. Mitchell, https://github.com/stephensmitchell | |
| from __future__ import division | |
| import sys | |
| import math | |
| from AlibreScript import * | |
| ScriptName = "Batch Area Moments" | |
| ScriptVersion = "1.0" | |
| DIALOG_WIDTH = 400 | |
| CURVE_SEGMENTS = 144 | |
| VERTEX_TOLERANCE = 1e-6 |
| [ | |
| { | |
| "id": "1", | |
| "title": "ALIBRE FORUM POSTS", | |
| "children": [ | |
| { | |
| "id": "92535", | |
| "title": "AlibrePosts", | |
| "children": [ | |
| { |