Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

157
Views
Extrude edge of extruded shape

I have created many different extruded shapes in a scene with the example below being a simple extruded triangle, but I now need to create a radius along a single edge of the object.

So in the example I would like to create a radius along the edge of the extrude from 0,0 to 900,0

Does anyone have any ideas on how to achieve this?

function extrude(tex, gp){
  let PrtOBJ = [], PrtPTS = [];
  PrtPTS.push(new THREE.Vector2(0, 0));
  PrtPTS.push(new THREE.Vector2(900, 0));
  PrtPTS.push(new THREE.Vector2(0, 900));;
  PrtPTS.push(new THREE.Vector2(0, 0));
let Prt = new THREE.Shape(PrtPTS);
PrtOBJ.push(Prt);
let PrtEXT = {
    bevelEnabled: false,
    steps: 1,
    depth: 22,
    material: 0,
    extrudeMaterial: 1
};
let PrtGEO = new THREE.ExtrudeBufferGeometry(PrtOBJ, PrtEXT)
let PrtMAT = new THREE.MeshPhongMaterial({
    side: THREE.DoubleSide,
    map: tex
})
let PrtMesh = new THREE.Mesh(PrtGEO, PrtMAT);
gp.add(PrtMesh);

Looked through three and the only way I can see is to create the edge extrude as a separate object to give me this Screenshot

Is there a way to merge the two geometries together to ensure the texture maps correctly

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!