Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.

First time visiting? Here are some places to start:

  1. Looking for a certain topic? Check out the categories filter or use Search (upper right).
  2. Need support? Ask a question to our Community Support category.
  3. Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
  4. Be respectful, on topic and if you see a problem, Flag it.

If you would like to contact our Community Manager personally, feel free to send a private message or an email.

opRevolve error "@opRevolve: expected map found string"

liam_gessman
liam_gessman Member Posts: 14 ✭
I'm quite new to FS and I'm attempting to make a feature to create a Nose cone from user inputed values for a model rocket. Heres the link to the document: https://cad.onshape.com/documents/a06f6e97eb6716499ff4a197/w/215711af590e153c1271eec7/e/b0d22b8e20ef0cb05fb88ef9 Please help! Thanks to any that do attempt to help me.

Comments

  • NeilCooke
    NeilCooke Moderator, Onshape Employees Posts: 6,121 image
            opRevolve(context, id + "revolve1", {
                        "entities" : qCreatedBy(id + "sketch1", EntityType.FACE),
                        "axis" : line(vector(0, 0, 0) * inch, vector(0, 0, 1) * inch),
                        "angleForward" : 360 * degree
                    });

    Senior Director, Technical Services, EMEA
  • liam_gessman
    liam_gessman Member Posts: 14 ✭
    Thank you!