Skip to content

Creating a 3D mesh projecting a surface #15

Answered by jimy-byerley
E1k3 asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @ETK3 and welcome here !
If I correctly understood, you are looking to a way to achieve this:

The good new is that there is few ways to acheive it. None are as simple as en extrusion ...

curve = wire(Softened([
		vec3(-0.2296, 0, 0.1898),
		vec3(-0.08743, 0, 0.1648),
		vec3(-0.1569, 0, 0.06546),
		vec3(0.2357, 0, 0.08456),
		vec3(0.1315, 0, 0.1761),
		vec3(0.1717, 0, 0.2101),
		vec3(0.3164, 0, 0.1736)]))
surf = extrusion(0.1*Y, curve)

mesh_extruded = extrusion(mat3(1,1,-1), surf)    # the mat3 here makes a symetry in direction Z

This is giving what you already have

  1. The most efficient way, if you know the surface side curves by advance, and if your side surfaces are planar is to …

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@jimy-byerley
Comment options

@E1k3
Comment options

@jimy-byerley
Comment options

Answer selected by E1k3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants