charch

Shared by saaberhasanalizadeh@gmail.com · Dec 21, 2025

PROMPT
Not yet rated

Log in to rate this artifact.

You are an expert FreeCAD macro developer. Create a Python macro for FreeCAD (Part workbench) that builds a simplified 3D model of a smart shopping cart handle (BG5). Requirements: Main cylindrical handle: length 450 mm, diameter 30 mm. Center of the handle: create a rectangular smartphone holder above the handle, 80 mm wide, 12 mm thick, 160 mm long, with a 5 mm fillet on all outer edges. On the front side of the handle, under the smartphone holder, cut a small rectangular pocket for a USB‑C port: 12 mm wide, 6 mm high, 4 mm deep. On the top of the handle, next to the smartphone holder, create 3 small cylindrical LED indicators: diameter 4 mm, height 2 mm. Use simple solids (cylinders, boxes, pockets, fillets) and fuse them into one body where appropriate. Place all geometry in a new document and set units to millimeters. Name the main body “BG5_Griffmodul”. Provide only valid FreeCAD Python code, no explanations

Prompt details

You are an expert FreeCAD macro developer.
Create a Python macro for FreeCAD (Part workbench) that builds a simplified 3D model of a smart shopping cart handle (BG5).
Requirements:

Main cylindrical handle: length 450 mm, diameter 30 mm.

Center of the handle: create a rectangular smartphone holder above the handle, 80 mm wide, 12 mm thick, 160 mm long, with a 5 mm fillet on all outer edges.

On the front side of the handle, under the smartphone holder, cut a small rectangular pocket for a USB‑C port: 12 mm wide, 6 mm high, 4 mm deep.

On the top of the handle, next to the smartphone holder, create 3 small cylindrical LED indicators: diameter 4 mm, height 2 mm.

Use simple solids (cylinders, boxes, pockets, fillets) and fuse them into one body where appropriate.

Place all geometry in a new document and set units to millimeters.

Name the main body “BG5_Griffmodul”.
Provide only valid FreeCAD Python code, no explanations