Help with a prompt for developing a truncated cone

Hi everyone,

I’m trying to generate the flat pattern (development) of a truncated cone in Zoo, but I’ve encountered some difficulties with the prompt structure. Could anyone share tips on how to phrase the request effectively to get good results?

The cone specifications are:

Large diameter:* 500 mm
Small diameter:* 250 mm
Height:* 600 mm
Sheet thickness:* 1.5 mm

I think I’m struggling to even understand the shape that you’re attempting to generate. In general, descriptive prompts can lead to more accurate models. In this case I can think of 2 routes you could take

  1. Start with a simplified prompt to get a working model. For example prompt for a cone. Then use the edit feature to truncate the cone
  2. Design the model using the Design Studio app. It may be faster and won’t waste ai credits when this seems like a relatively simple model

Here could be some starting kcl code if you want to try it

length002 = 250
length001 = 600
sketch001 = startSketchOn(XZ)
profile001 = startProfile(sketch001, at = [500, 0])
  |> xLine(length = -500, tag = $seg02)
  |> yLine(length = length001, tag = $seg01)
  |> xLine(length = length002)
  |> line(endAbsolute = [profileStartX(%), profileStartY(%)])
  |> close()
revolve001 = revolve(profile001, angle = 360, axis = seg01)

Hey @Simon.Roca,

“Design a truncated cone with a large diameter of 500 mm, small diameter of 250 mm, height of 600 mm, and a thickness of 1.5 mm” is a pretty good start. Were you trying to get a model like @ryan showed?

Thanks for the reply! I’ve attached an image so you can understand what I was trying to make. The shape on the left is what I wanted to achieve with the prompt.

@Simon.Roca, I’m trying to understand the drawing more. Is the left image a flattened out cone? This is being made out of sheet metal? That’s why you mentioned the sheet metal thickness?

Hi, that’s correct, I just want the cone data to generate a sheet metal development belonging to that cone.

Hey @Simon.Roca ,

I think I understand what you’re trying to produce. At the moment I’m not sure how I would prompt our model to understand this. I would probably describe the flat sheet in terms of of it’s dimensions like the 87 degree angle and interior radius (201) and exterior radius (510)

Here is the kcl to produce this flat shape. Sometimes it’s quicker to make the model than to prompt it :wink:

thickness = 1.5
angle = 87
exteriorRadius = 510
interiorRadius = 201
width = exteriorRadius - interiorRadius

sketch001 = startSketchOn(XY)
profile001 = startProfile(sketch001, at = [interiorRadius, 0])
  |> xLine(length = width)
  |> arc(angleStart = 0, angleEnd = angle, radius = exteriorRadius)
  |> angledLine(angle = angle+180, length = width)
  |> arc(interiorAbsolute = [interiorRadius * cos(45deg), interiorRadius * sin(45deg)], endAbsolute = profileStart())
  |> close()
  |> extrude(length = thickness)
1 Like

In general, in what cases would it be quicker to make a model than to prompt it?

Hey @heady-snail

It really depends. In the case above it’s a couple of lines and arcs in the end. Describing the 2 dimensional shape based on 3d geometry can get complicated. Since a drawing existed with simple dimensions it was easier to create the part like a normal cad workflow vs. trying text to cad.

We’re still improving text to cad and as it gets better there will be less need for manually modeling something.

In general I would say if you’re trying to recreate a drawing in Zoo Design Studio, it would be easier to model it directly until we add support for interpreting drawings with AI.

-Ryan