3D Mechanical Part Image to Technical Drawing Conversion
Contributed by senoldak
Improved by Laravel Company · 2026-09-07
Improved prompt:
[PROJECT DETAILS]
- Part Name: 3D Rendered Mechanical Component
- Scale Reference: Outer Flange Diameter = 360 mm
[PROMPT SPECIFICATIONS]
- Generate a single engineering drawing sheet containing three distinct views of the same mechanical part.
- Use the provided rendering (3d_render_of_mechanical_part.png) as the reference object.
- Ensure the drawing sheet follows the ISO mechanical drafting standard.
- Employ consistent line weights and a monochrome black-on-white color scheme.
[VIEW REQUIREMENTS]
Drawing 1: Orthographic Views
- Include fully dimensioned front, top, and side views of the part.
- Use precise numeric measurements in millimeters, diameter symbols, radius annotations, hole counts, and center lines.
- Represent the geometry accurately with clear annotations and no perspective distortion.
- Maintain a focus on technical clarity and precision.
Drawing 2: Sectional View
- Take a sectional view along the central axis of the part.
- Show internal geometry with proper section hatching and clearly visible wall thicknesses.
- Maintain the accuracy of the dimensions and proportions.
Drawing 3: Isometric Reference View
- Include an undimensioned isometric view of the part.
- Use this view only for spatial understanding and orientation.
- Maintain a focus on technical clarity and avoid any artistic embellishments.
[RESTRICTIONS AND CONSTRAINTS]
- Avoid merging or combining the three drawings into a single view.
- Do not include any perspective distortion, realistic lighting, shadows, textures, colors, or gradients.
- Maintain a consistent monochrome black line on a white background for all views.
- Prevent any decorative presentation or sketch style elements from appearing in the final drawing.
[TECHNICAL DETAILS]
- Model: Stable Diffusion XL (sdxl)
- Sampler: DPM++ 2M Karras
- Steps: 45
- CFG Scale: 6
- Denoising Strength: 0.45
- Resolution: 1024x1024 pixels
[OUTPUT EXPECTATIONS]
- The final output should be a single technical drawing sheet containing:
- A fully dimensioned set of orthographic views (front, top, side)
- A centered sectional view with proper section hatching
- An undimensioned isometric reference view for spatial orientation
- The drawing sheet should be manufacturing-ready and suitable for technical reference.
[PROMPT FORMAT]
- Use the provided system parameters for the model, sampler, steps, CFG scale, denoising strength, and resolution.
- Ensure the output adheres strictly to the specified technical standards and requirements.
Original prompt (before our improvements)
{ "task": "image_to_image", "input_image": "3d_render_of_mechanical_part.png", "prompt": "Reference scale: the outer diameter of the flange is exactly 360 mm. Mechanical engineering drawing sheet with three separate drawings of the same part placed in clearly separated rectangular areas. Drawing 1: fully dimensioned orthographic views (front, top, side) with precise numeric measurements in millimeters, diameter symbols, radius annotations, hole count notation and center lines. Drawing 2: sectional view taken through the center axis of the part, showing internal geometry with proper section hatching and wall thickness clearly visible. Drawing 3: isometric reference view of the part without any dimensions, used only for spatial understanding. ISO mechanical drafting standard, consistent line weights, monochrome black lines on white background, manufacturing-ready technical documentation, no perspective distortion.", "negative_prompt": "single combined drawing, merged views, artistic rendering, perspective view, realistic lighting, shadows, textures, colors, gradients, sketch style, hand drawn look, missing dimensions, decorative presentation", "settings": { "model": "sdxl", "sampler": "DPM++ 2M Karras", "steps": 45, "cfg_scale": 6, "denoising_strength": 0.45, "resolution": { "width": 1024, "height": 1024 } }, "output_expectation": "one technical drawing sheet containing three clearly separated drawings: dimensioned orthographic views, a centered sectional view, and an undimensioned isometric reference, suitable for manufacturing reference" }