Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Allow higher amount of mesh-faces on extrusion
#1
Hi,

I'd love to have one public int being added to solve the following problem:

I had a problem extruding a circle shape with a small radius.
I like to keep my Projects on a 1 unit = 1 meter scale. So when I created a cable and set the shape to circle and its radius to 0.05 the extruded mesh has only 3 faces and was a triangle. I tried to lower the angle threshhold and set more Cps and points per unit for the input spline with the same result.

So after digging through the code I found the number of minimum faces hardcoded in SplineInputModuleBase.cs on line 269. This should be a public setting to allow us small scale meshes with high resolution.

Thanks for theĀ great asset though! Smile
Reply
#2
Hi,
The problem is not there, but in the cache density of your spline. For very small splines, the default cache density is not high enough. Read this to see how to fix that:
https://curvyeditor.com/documentation/pe...che_points
Have a nice day
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.
Reply
#3
I hadĀ Cache Density at 100 which does not work as I would think it should?:
[Image: p.png?fv_content=true&size_mode=5]

It only starts having an effect when i massively turn up the Max Points per Unit. Then I get like 8 mesh faces:
[Image: p.png?fv_content=true&size_mode=5]
Reply
#4
I got drop box error when trying to access your images.

Like stated in the documentation, Cache Density allows the cache points to go up to "Max Points Per Unit" points per unit. It is meant to be an easy way to fine tune. If you want to increase drastically the number of cache points, then it is "Max Points Per Unit" that should be increased like you did.

In case you were not aware of it, you can show the cache points by clicking on the View Settings icon in the toolbar.

Once I get the images, or better, the reproduction scene (keep in mind this is a public forum) I can help you further.

Have a nice day
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Simple Spline Extrusion GelsonBieber 3 319 07-29-2020, 02:34 PM
Last Post: _Aka_
  Extrusion does not match Controller position JasperBPT 3 361 05-26-2020, 10:18 PM
Last Post: _Aka_
  Control points close together causing mesh overlap amccraw 5 466 05-23-2020, 06:08 PM
Last Post: _Aka_
  Mesh losing its collider when I exit 'Play Mode' uprashanth 3 2,930 05-06-2020, 11:49 AM
Last Post: _Aka_

Forum Jump: