created a hair dryer in replicad #10
Replies: 3 comments 1 reply
-
(I've subscribed to discussions here so I got the email 🙂) It's probably because the fillet is too large and is overextending to something. I've encountered similar errors in CADQuery (which use the same underlying engine)... Try with an ever increasing chamfer first to see where it overextends, and then switch to fillet... This issue is why I'm torn between a few different Code CAD today. Doing organic or non-organic surfaces has no nice inbetween. It's why I'm working on my own Code CAD but really don't have the time currently to push it forward... |
Beta Was this translation helpful? Give feedback.
-
I have tried your suggestion but it did not work. I know that the shape should be possible, as I modelled it earlier in CascadeStudio. I know that in earlier versions I had to tweak the dimensions a bit to make it work, but when I tried it again today it worked perfectly. Note that the cut-out in the nozzle looks a bit weird as I shifted the inner offset of the nozzle before subtracting it from the shape to remove the outlet face. A very similar model in OnShape: So I assume that the kernel should be able to calculate the shape. Therefore I guess that the selection of the edges does not work as expected. |
Beta Was this translation helpful? Give feedback.
-
Success! I don't know what magic was performed behind the scenes, but I indeed got a model. While writing this reaction I realized why the method where I select a vertical edge does not work. At this point in the model creation there is another vertical edge that I excluded from the selection of edges earlier. So the correct edge selection now looks like this: // code to fillet the junction between the nozzle and the fan housing
fanhousing = fanhousing.fillet(outletJunctionRound, (e) => e.inDirection("Z").not( (f) => f.inBox(corner1,corner2)))
// code to fillet the junction between the handle and the fanhousing
fanhousing = fanhousing.fillet(handleJunctionRound, (e) => e.inBox(corner3,corner4)); // version 1
// fanhousing = fanhousing.fillet(handleJunctionRound,
// (e) => e.inDirection("Z").not( (f) => f.inBox(corner1,corner2))); // version 2 Both version 1 and version 2 work in the most recent version of the app. |
Beta Was this translation helpful? Give feedback.
-
I tried to model a hairdryer in Replicad.
The shape is interesting because it holds the middle ground between an organic shape and a hard surface shape. So modellng in Blender is not easy, but it is also challenging for most CAD-like programs. Especially creating the fillet between the fanhouse, the nozzle and the handle is difficult. In Replicad I was not able to create the fillet between the handle and the fanhouse. The code below contains two approaches to select the edges, but in both cases the model crashes and creates a kind of blob in the Visualizer.
Beta Was this translation helpful? Give feedback.
All reactions