CtrlK
BlogDocsLog inGet started
Tessl Logo

aopab/jscad-codegen

Generate, validate, and render JSCAD v2 CAD scripts from natural language prompts

94

1.64x
Quality

94%

Does it follow best practices?

Impact

97%

1.64x

Average score across 3 eval scenarios

SecuritybySnyk

Passed

No known issues

Overview
Quality
Evals
Security
Files

task.mdevals/scenario-3/

Coffee Mug with Handle

Problem/Feature Description

A ceramics studio wants a JSCAD script for a classic cylindrical coffee mug to use as a reference model for their 3D printer. The mug has a hollow cylindrical body (open at the top), a curved handle on the side, and a flat base. The outer diameter of the body should be about 80mm, the wall thickness 4mm, and the total height 95mm. The handle should attach to the outside of the body and form a D-shaped loop that a finger can fit through.

Write a JSCAD main() function that produces this mug geometry as a single assembled solid.

Output Specification

Produce a single file named mug.js containing the complete JSCAD script.

The script must define a main() function that returns the assembled mug geometry. Do not produce any other files.

evals

tile.json