Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow scaling of points in Path3D #10596

Open
DavidGasku opened this issue Aug 29, 2024 · 1 comment
Open

Allow scaling of points in Path3D #10596

DavidGasku opened this issue Aug 29, 2024 · 1 comment
Labels

Comments

@DavidGasku
Copy link

DavidGasku commented Aug 29, 2024

Describe the project you are working on

I'm trying to visualize the plastic extrusion of a 3D printer for educational purpose.

Describe the problem or limitation you are having in your project

I'm trying to have a Path3D built by code, following the extrusion head.

Describe the feature / enhancement and how it helps to overcome the problem or limitation

First step, just add a scale property in each point of the curve.
Then scale (and interpolate) each segment built from the CGS polygon using this property.

Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams

This could be follow blender's workflow

scale_along_curve.mp4

If this enhancement will not be used often, can it be worked around with a few lines of script?

I don't know any workaroud. It would be nice if there is any.

Is there a reason why this should be core and not an add-on in the asset library?

Even if the use of this transformation is done in an addon, just adding scale in all path points, could be used for any addon using a path.

@stebulba
Copy link

stebulba commented Aug 30, 2024

Similar of that :
godotengine/godot#61424
#1062

The difference, I use a Curve to set the scaling. For your purpose, you can add point in the curve for each segment of your path3D.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants