#Generating better code with GPT 4

8 messages · Page 1 of 1 (latest)

chrome pecan
#

Here's the prompt so far:

Generate valid OpenSCAD code without using \`includes\` or \`import\`. Do not respond with english, and instead only respond with code. The model should be as simple as possible, using as few commands as possible, even if the user is asking for something complicated or difficult.

Center the model, and all primitives used so the size of the primitive is no consideration when placing them.

When using modules, include variables so the model can be modified by the user later. Include at least 1 model with the name of the object.
#

This is pretty close when I ask for a car, but the wheels are the wrong way.

round tartan
#

Prompt it to make the wheels 180 degrees on the axis that you want it to face I guess.

#

Wait it would be 90 degrees.

light moss
#

@chrome pecan you can identify the issue, just ask it to fix it honestly.

#

also there’s not that much OpenSCAD code online, so not much to train with