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.

Remapping UV Curves on a Revolve Flat Surface?

ry_gbry_gb Member, csevp, pcbaevp Posts: 246 PRO

Is there a way to remap a revolved flat surface to make the coordinates polar rather orthogonal? I was trying to use Attractor Pattern on a revolved surface (not a full 360 revolve. I'm aware of the limitation) and realized that the underlying grid was perpendicular UV lines and giving me undesired results. The profile for the image on the right is a line that's tilted by 1 degree for demo purposes.

image.png

Ramon Yip | glassboard.com

Tagged:

Best Answers

  • S1monS1mon Member Posts: 4,265 PRO
    Answer ✓

    If you revolve something at a microscopic angle from normal to the axis, it will create the surface with the desired UV structure. The minute you do something that could be flat, Parasolid will try to be helpful and make it a simple grid.

    Simon Gatrall | Product Development, Engineering, Design, Onshape | Ex- IDEO, PCH, Unagi, Carbon | LinkedIn

  • GregBrownGregBrown Member, Onshape Employees, csevp, pcbaevp Posts: 404 image
    edited June 16 Answer ✓

    I may be overthinking this… but try this ;)
    https://cad.onshape.com/documents/b4a6390ff08540b94b378e64/w/ae411fd2ec988dc3efd3f8a2/e/16153c47ea2e417695cdef36

    image.png

Answers

  • ilya_baranilya_baran Onshape Employees, Developers, HDM Posts: 1,263 image

    You'd need to replace the plane with a planar NURBS surface, I can't think of a way except for that…

    Ilya Baran \ VP, Architecture and FeatureScript \ Onshape Inc
  • S1monS1mon Member Posts: 4,265 PRO
    Answer ✓

    If you revolve something at a microscopic angle from normal to the axis, it will create the surface with the desired UV structure. The minute you do something that could be flat, Parasolid will try to be helpful and make it a simple grid.

    Simon Gatrall | Product Development, Engineering, Design, Onshape | Ex- IDEO, PCH, Unagi, Carbon | LinkedIn

  • ry_gbry_gb Member, csevp, pcbaevp Posts: 246 PRO

    So it's just the Parasolid kernel doing its thing? Rhino was pretty explicit about the surface, but @ilya_baran you mentioning NURBS makes sense.

    I just tried importing a Rhino file into my part studio and while the surface did import with a seam, the grid is still orthogonal. Overall, this isn't a big deal to me, but just a quirk I found in the software. I'm sure there are workarounds for this that don't involve UV.

    importedRevolvedNurbs.gif

    Ramon Yip | glassboard.com

  • Derek_Van_Allen_BDDerek_Van_Allen_BD Member Posts: 994 PRO

    There have been a number of times I've wished for the ability to have some kind of curvature flow on flat surfaces and thought about resorting to tweaking one minor corner of the surface and projecting back to the plane. Tween Curves is a partial solution but I'm not entirely happy with that either for some use cases.

  • GregBrownGregBrown Member, Onshape Employees, csevp, pcbaevp Posts: 404 image
    edited June 16 Answer ✓

    I may be overthinking this… but try this ;)
    https://cad.onshape.com/documents/b4a6390ff08540b94b378e64/w/ae411fd2ec988dc3efd3f8a2/e/16153c47ea2e417695cdef36

    image.png
  • ry_gbry_gb Member, csevp, pcbaevp Posts: 246 PRO
    edited June 16

    @GregBrown 🤣 madness

    But this does do what I asked for. It's really mainly for things like attractor pattern where the UV layout matters. I also saw you made it in 6 minutes. Was this done using an LLM? If so, that's really impressive. Also impressive if you figured all that out in 6 minutes as well.

    Also, lol @ over 9000

    Ramon Yip | glassboard.com

  • GregBrownGregBrown Member, Onshape Employees, csevp, pcbaevp Posts: 404 image

    Ha! Yes, I appeared to do this quickly as it was copied over from a different doc that I had been working on. And yes it was part of some MCP testing… I also happen to have a couple thousand lines of NURBs helper functions from those MCP tests and could pull some hints from that, which bootstrapped things nicely.

  • Derek_Van_Allen_BDDerek_Van_Allen_BD Member Posts: 994 PRO

    I would love to get some MCP support for featurescript going cause I'm finding that any time there's a hot new model of the month they have this tendency to ignore all of my .md files laced with all of my helpful instructions and I'm forced to spend a little bit of quality time reeducating the newest Claude about featurescript.

  • S1monS1mon Member Posts: 4,265 PRO

    Just is case it’s not clear from all the different posts I’ve made, I would love to try out the MCP support.

    Simon Gatrall | Product Development, Engineering, Design, Onshape | Ex- IDEO, PCH, Unagi, Carbon | LinkedIn

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. Sign in or register to get started.