Comments (6)
I have played a bit, and failed to fillet it - it feels like the OC kernel does not like your shape here...
from replicad.
What gets me is it's essentially just one big curve 😅 I don't see why it wouldn't like it...! Thanks for trying
from replicad.
So just to confirm, using RepliCAD (or any OC based tool) for this then is a dead end right?
from replicad.
It depends also on your model - this is not because it is a bezier spline, but because the angles your shape do are kinda incompatible with the fillet you request (with the algorithm OC uses).
For instance
const main = ({ draw, drawRoundedRectangle }) => {
return draw()
.halfEllipse(0, 20, 5)
.smoothSpline(25, -3)
.smoothSpline(20, 8)
.smoothSpline(-20, -30, -90)
.close()
.sketchOnPlane("XY")
.extrude(5)
.fillet(0.5, (e) => e.inPlane("XY"));
};
will return a filleted shape. But if you change the fillet to 1
, it will kernel error.
I would be interested to see if you can achieve filleting the same shape with cadquery (it might be fairly easy to port your code).
from replicad.
I tried to fillet your shape in Moi3D, but this program also has difficulty creating a fillet. I selected the complete top edge, but the marked part failed to fillet. On the other parts, the fillet is not complete either, as the straight part of the surface has not been removed.
![image](https://private-user-images.githubusercontent.com/38007983/277191489-7aa42d84-a459-4843-bf79-6da5655eb94e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk0OTY2MzMsIm5iZiI6MTcxOTQ5NjMzMywicGF0aCI6Ii8zODAwNzk4My8yNzcxOTE0ODktN2FhNDJkODQtYTQ1OS00ODQzLWJmNzktNmRhNTY1NWViOTRlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MjclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjI3VDEzNTIxM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTVlZWUxOWEyOGNlZjA0ZjBmYzRlYTA0OTE1OGY0ZGIyMTViNGNmMDUzNjIzMTU2ZmU0ODBmZDBkNzYwZjVhM2UmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.hJOfktQwWotCsJ3pmBByBCI0VE7bFBk6XSoP9UWDYsU)
from replicad.
After importing the shape into FreeCad it was indeed not possible to create a fillet. Yet, OnShape has no problem creating a fillet, 1 mm or 5 mm, it all works. Note that the STEP file used in OnShape was created in Replicad. This confirms that Parasolid is one of the more robust 3D kernels available (which is reflected in its price) but also that Replicad can produce a STEP file that can be used for further processing in other CAD tools.
from replicad.
Related Issues (20)
- Add Support for Exporting Reference Geometry HOT 4
- Section view broken for some models, hard to fix HOT 2
- [Request] Option to set parameter panel to uncollapsed in share links HOT 1
- Import STEP file in my scene HOT 2
- Interpolate curves HOT 1
- Some typing issues HOT 3
- Request: Export binary STL HOT 1
- Missing documentation on 3D operations HOT 7
- BUG: makeBaseBox HOT 3
- Missing UV mapping on the geometry HOT 4
- [Request] More compact parameters panel in studio
- Set a name for parts / the default scale in the output file HOT 4
- drawProjection import from node package failing HOT 3
- How to get the volume and surface area of a shape? HOT 3
- Convert Entities Function HOT 4
- Error more gracefully in set operations HOT 1
- [Request] Adding Threejs bufferGeometry to replicad object converter in replicad-threejs-helper HOT 1
- how to properly load the full wasm package from opencascade and/or see better errors HOT 8
- can't open existing model (.js) file HOT 1
- rotating the view is messed up after clicking an axis HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from replicad.