[Plugin][$] FredoCorner - v2.7a - 31 Mar 24
-
@uwesketch said:
when pointing the mouse directly on an arrow modifier button (for instance to the left and right of the "#Seg" value) and then I click, the button to the left of it is activated. The gap between the button and the click area is about 4 mm. This is as well with other buttons. I have a Win 10 laptop with a 15" screen of 1600x900 Pixels. Not sure, if this is only on my PC.
I have a slight problem with this cursor, because I cannot set the hot point. I fixed the problem by using another 'hand' cursor and it will go in a next release of Sketchup.
By the way, if anyone has a nice 'Cursor hand' png, ideally 28x28, that would be great.@uwesketch said:
for circles and Bezier curvers, one can choose anodd number of segments. But for Squirclethis is not working right. The point/edge below the center point is missing (consistently in the profile sceen, the preview and generated geometry).
Normally, the number of segments should be even, whatever the profile. Although I could allow odd numbers of segments, it's a little bit of a headhache when you come to reassign materials from the bordering faces.
@uwesketch said:
I would very much like to have a toggle on/off button like in SubD. (SubD is great to smooth organic surfaces as I draw them for furniture, etc.). For technical objects with a lot of planar surfaces and creases containing only some roundings, FredoCorner with a "toggle on/off" would be perfect.
Very cool would be, if SubD and FredoCorner could share the same "toggle on/off" button concept. The two tools complement each other.
Currently when I create a FredoCorner geometry and then use SubD, I cannot use the undo/edit function with FredoCorner anymore.That's the whole question of Modifiers in Skecthup (by reference to what exists in Blender). SubDiv and Artisan operates on groups and assume you transform the whole group by subdivision. FredoCorner operates on edges, and you don't need to have your geometry enclosed in a group, and even if this is the case, you can perform several rounding on the edges of that groups. The information for Undo/Repair is stored as attribute of the edges and it might be lost when you do a subsequent subdivision. That's why.
I can probably try to do something to 'simulate' a Modifier for Corner rounding. I just need to think about the most generic way to do that, considering that the current Ruby API is of absolutely NO help for supporting the approach, except if you accept to apply modifiers to Groups / Component.@uwesketch said:
I tried to use the SubDivision function of FredoCorner to produce thereafter with SubD a rounded corner in the shape of a circle. Since SubD generates C2 surfaces the rounding will not be in the shape of a circle. To approximate a circle after subdividing, a squircle with a factor of roughly 2.3 can be generated. The subdivided corner then is pretty close to a circle. Maybe this setting could be added as a preconfigured option to the FredoCorner SubDivision function.
Good findings and it may be useful. Note that a squircle of degree 2 is a pure circle.
@uwesketch said:
If you need someone to help with the German translation, please let me know. I would be glad to contribute.
Many thanks for that. You can go to the menu Tools > Fredo6 Collection... > FredoCorner > Language Translation. You have an editor to translate to German. It will generate a text file FredoCorner_DE.lang in the FredoCorner subfolder. You just need to send it to me or post it in this thread and I will integrate it for the next release.
Note that a large part of the strings are in LibFredo6, so you may want to refresh the German translation of LibFredo6, which is quite old and anyway incomplete (menu Window > LibFredo6 Settings... > Language Translation) -
@unknownuser said:
[highlight=#ff80ff:2cmkgmbv]by fredo6 Β» Tue Feb 05, 2019 5:03 pm:[/highlight:2cmkgmbv]
I have a slight problem with this cursor, because I cannot set the hot point. I fixed the problem by using another 'hand' cursor and it will go in a next release of Sketchup.
By the way, if anyone has a nice 'Cursor hand' png, ideally 28x28, that would be great.Looking Forward to this. unfortunately I do not have a nice png.
@unknownuser said:
[highlight=#ff80ff:2cmkgmbv]by fredo6 Β» Tue Feb 05, 2019 5:03 pm:[/highlight:2cmkgmbv]
Normally, the number of segments should be even, whatever the profile. Although I could allow odd numbers of segments, it's a little bit of a headhache when you come to reassign materials from the bordering faces.I understand your point with the materials, but sometimes when using only 3 or 5 segments, it just looks better, if the middle part of the rounded edge/corner is flat and does not have the edge.
It is only with squircles where it currently does not work with an odd number of segments. the other profiles work fine with odd segments.Regarding theGerman Translation, I will give it a try.
Regarding the toggle on/off:
Ok, understand. It is indeed tricky.
I somehow see four different workflows:- Use FredoCorner on edges to generate a geometry. The Undo/edit is used during the construction process. The generated geometry is used as is.
- use FredoConer as a preparation to SubD. Only a few segments are generated (2 o 5).
- as a finishing step use FredoCorner to generate nice rounded cornes on certain or all edges of a geometry, which can be toggled on or off.
- Use FredoCorner to make some corners nicely round and then on the same geometry also use SubD to subdivide remaining surfaces. All this can be toggled on or off: This is for me a not really necessary "nice to have".
Based on above use cases, from a UI perspective, one could therefore separate the undo/edit functionality from the Toggle On/Off functionality. Especially, if this makes the implementation easier.
The first two use cases need the undo/edit, the last two the toggle on/off.
Therefore it would be fine, if the on/off toggle for FredoCorner would as well only work on groups/components like in SubD.Instead of only an "On/Off", a triple state toggle would be nice: OFF -> low poly -> high poly. The low and high poly would be defined by the user.
For Example low = 4 segments, high = 16 Segments. -
Is there a way to remove all FredoCorner "undo/edit" Information from a geometry?
I have the impression that after using the Edit function several times, it suddenly does not generate a good geometry anymore. When I then redraw the geometry from scratch, FredoCorner works nice again.
So I assume that there is some internal data stored on the geometry that causes the corruption.
What I also see when this happens, is the layer "LIBFREDO_hidden_Layer" in the list of layers.
Normally this layer is not there.
Sometimes one can get back to the "unccorrupted" geometry with Sketchup undo, but sometimes not.![Geometry with "Fredo-rounded" Corner](/uploads/imported_attachments/aziT_BellFredoCorner_before_UndoEdit.png "Geometry with "Fredo-rounded" Corner")
![Geometry with "Fredo-rounded" Corner after entering Undo/Edit mode.](/uploads/imported_attachments/yjM9_BellFredoCorner_after_UndoEdit.png "Geometry with "Fredo-rounded" Corner after entering Undo/Edit mode.")
For this and other reasons a "remove all FredoCorner data" would be helpful.
-
Thanks, I was looking for this option in the "undo/repair" screen, but not in the fredo tools menu.
P.S. yes, it is far better than no undo/edit funtion !
-
You can purge all Repair data with the menu Tool > Fredo6 Collection > FredoCorner > Purge All Data.
The Undo / Repair function is always tricky and may not work perfectly all time, because it also depends on the geometry of the neighboring faces and edges of the rounding. It's better than nothing, but until Sketchup provides a real native support of Modifiers, this will always remain approximative.
-
Thank you so much for this plugin
What's noticeable is that it works "through" groups, however, I experience an issue - when I preselect a few groups, then apply FredoCorner on them, not all of them are affected. Often only one gets rounded and the rest remains with no changes. It refers to SketchUp 2017 and 2018. I tried it many times and eventually I even had a bugsplat in SketchUp 2018.
Another issue comes with Bevel mode when working on a triangulated pseudo-quad mesh. I attached a model to explain the case β automatically created faces, which I painted red, are unnecessarily split. This is quite easy to repair manually so I removed the soft edges and drew single diagonals so that the final mesh is more simple. But in some cases it may be more difficult to fix by hand.
Fredo, have you already made up your mind about FredoCorner price?
-
@einstein said:
What's noticeable is that it works "through" groups, however, I experience an issue - when I preselect a few groups, then apply FredoCorner on them, not all of them are affected. Often only one gets rounded and the rest remains with no changes. It refers to SketchUp 2017 and 2018. I tried it many times and eventually I even had a bugsplat in SketchUp 2018.
Would you have an example of that?
@einstein said:
Another issue comes with Bevel mode when working on a triangulated pseudo-quad mesh. I attached a model to explain the case β automatically created faces, which I painted red, are unnecessarily split. This is quite easy to repair manually so I removed the soft edges and drew single diagonals so that the final mesh is more simple. But in some cases it may be more difficult to fix by hand.
Thanks for signaling the issue. This is actually a side effect of the approach I used, because FredoCorner does the beveling with 2 segments in case the bordering faces have different materials, and then erases the middle line if it is possible. In your case, since the bevel is not planar and need to be triangulated, you obtain 4 triangles instead of 2. I need to revisit the algorithm.
@einstein said:
Fredo, have you already made up your mind about FredoCorner price?
Not decided, probably cheap, but it is free for the time being, and the Undo/Edit function would remain free so that you can at least use it on existing rounded model.
-
Now I realised that the issue I first described (not affecting all selected groups) only occurs when I make a group (say, simple cube) and copy it, so Entity Info says for example: "3 Solid Groups (3 in model)". This is a situation to avoid in general. SketchUp behaves strange when you copy groups and not edit the copies.
If I create groups independently and not duplicate them, FredoCorner works fine.
Nevertheless, due to the crash I caused in SketchUp 2018, I'm reporting this. The attached model contains a group that was duplicated twice and they cause problems with selection.
Referring to the second issue (with face division), I think that perfect solution would be a button toggling whether "chamfer-faces" are divided along, or not.
-
Hi Fredo,
When using Catmull-Clark subdivision (i.e. Thomthoms SubD) to smooth a corner, then the subdivided corner in general is not an arc. It is more like a squircle. See pictures 2 - 4 below.
If subdivision shall generate something that is close to an arc with a given radius, then the control mesh to start with cannot be an arc with the same radius or a square. (See pictures 1 to 4).You get very close to a circle after subdivision, if you start with a regular n-gon where the Inner radius is the same as the offset. (the first and last segment of the n-gon are coplanar to the side faces of the cube)
Therefore it would be helpful, if FredoCorner could provide an option under the category "SubDivision" to create profiles as regular N-Gons with the inner radius = offset.
In an earlier post I mentioned that a squircle with an exponent value of roughly 2.1 gives good results as well. But a regular n-gon as the profile is even better.In addition when subdividing a rounded corner, you may not want the whole object to shrink (which Catmull-Clark subdivision does by definition). This can be easily achieved when setting the border edges to creased in SubD. This has been done in the below examples.
As you can see with an 8-gon you already get a subdivided surface being 1.2% off a circle. With a 16-gon you are only 0.6% off.
The currently provided "SubDivision" option is basically a regular 4-gon with "inner radius = offset" and hence the proposed n-gon profile can be seen as a generalization of the existing option.
-
@einstein said:
Now I realised that the issue I first described (not affecting all selected groups) only occurs when I make a group (say, simple cube) and copy it, so Entity Info says for example: "3 Solid Groups (3 in model)". This is a situation to avoid in general. SketchUp behaves strange when you copy groups and not edit the copies.
If I create groups independently and not duplicate them, FredoCorner works fine.
Nevertheless, due to the crash I caused in SketchUp 2018, I'm reporting this. The attached model contains a group that was duplicated twice and they cause problems with selection.
I fixed the problem when you preselect several groups which are fresh copies of each others (and thus share the same definition). It will go in the next release.
@einstein said:
Referring to the second issue (with face division), I think that perfect solution would be a button toggling whether "chamfer-faces" are divided along, or not.
Actually I am looking for a more transparent solution which does what is appropriate to the situation. Not so easy however.
-
I am not sure I full understand the case, but apparently you would like that the SubDiv tool create several subdivision lines instead of one.
First the SubDiv tool is only useful if your solid has other faces that would be subdivided. If you just want to round a cube, then use the Rounding tool of FredoCorner, where you have the Circle profile.
Second, unless you have orthogonal faces like in a cube, you will never get uniform circular rounding in the solid whatever you do, because the profile will be stretched at some borders and corners to ensure the continuity of rounding.
Would have an example of solid which is not with orthogonal faces and where subdivision also affect other faces?
-
NEW RELEASE: FredoCorner v1.5c - 14 Feb 19
Requirement: LibFredo6 8.7k
FredoCorner 1.5c fixes an issue when pre-selecting multiple groups, among which some are fresh copies of the others..
Please note that, in the current version of FredoCorner:
- there are issues with some shortcut modifiers (Ctrl, Alt) on Mac)
- there are known issues and bugs here and there. This concerns in particular Collisions, i.e. when the offset is too large.
- Terminal corners (that is ending on a single edge) may present issues and bugs
- No documentation yet, so watch the videos that I will publish.
Please report issues, questions and any feedback in the present thread
Home Page of FredoCorner for information and Download.
-
@unknownuser said:
Fredo wrote:
I am not sure I full understand the case, but apparently you would like that the SubDiv tool create several subdivision lines instead of one.Yes, exactly: more lines .
The point is that the SubD Plugin will subdivide all faces in a Group/Component. So if I use a FredoCorner Circle to create a smooth corner (with many Segments) and then use as well SubD to smooth the rest of the component, SubD will subdivide as well the already smooth FredoCorner faces. This generates far too many faces and SubD will fail.Therefore the idea is that FredoCorner should create a rough SubDivision mesh, so that SubD will generate a nice approximated circle for the corner and also smoothes the rest of the component.
I also tried it with an Edge where the two faces are not orthogonal. SubD will generate an approximated arc when using the proposed n-gon as a basis.
The existing option "Subdivision" in FredoCorner is good, but too rough of a mesh, if you want SubD to produce a "circle like" smoothing of the Corner.
Example of object using FredoCorner and SubD (only the Bell):
-
I got it. This is just a little bit complicated, but probably doable.
Fredo
-
Hi!
I have a model where I want do bevel about 500 edges at once. I get an error "CATENA Compute all", whatever it means. It won't let me bevel these edges. Problem doesn't occur with Round Corner. Is it that Fredo Corner just doesn't manage too many edges? Even if so, 500 is not soo many. Even if I select some of them, problem still occurs. About 150 edges is maximum that can be performed.
Maybe it's because currently my SketchUp runs on integrated Intel graphics card with very limited performance.
I attach the problematic model./SketchUp 2017 on Win7
-
Also there are mesh errors in some cases, when bevelling triangulated meshes.
- screenshot with bug report in some other case of triangulated mesh.
-
@einstein said:
I have a model where I want do bevel about 500 edges at once. I get an error "CATENA Compute all", whatever it means. It won't let me bevel these edges. Problem doesn't occur with Round Corner. Is it that Fredo Corner just doesn't manage too many edges? Even if so, 500 is not soo many. Even if I select some of them, problem still occurs. About 150 edges is maximum that can be performed.
Maybe it's because currently my SketchUp runs on integrated Intel graphics card with very limited performance.Oops! Thanks for signaling. I unfortunately left some limitations for debugging purpose.
So fixed in next version.
Fredo
-
NEW RELEASE: FredoCorner v1.6a - 20 Feb 19
Requirement: LibFredo6 8.7k
FredoCorner 1.6a fixes an issue when pre-selecting a lot of edges. There were artificial limitations in the script which are now removed.
Please note that, in the current version of FredoCorner:
- there are issues with some shortcut modifiers (Ctrl, Alt) on Mac)
- there are known issues and bugs here and there. This concerns in particular Collisions, i.e. when the offset is too large.
- Terminal corners (that is ending on a single edge) may present issues and bugs
- No documentation yet, so watch the videos that I will publish.
Please report issues, questions and any feedback in the present thread
Home Page of FredoCorner for information and Download.
-
@einstein said:
Also there are mesh errors in some cases, when bevelling triangulated meshes.
- screenshot with bug report in some other case of triangulated mesh.
Do you have the models with the multiple bricks (the one attached only contains 1 brick and is related to the problem of 2 segment beveling). Thanks.
Fredo
-
@fredo6 said:
Do you have the models with the multiple bricks (the one attached only contains 1 brick and is related to the problem of 2 segment beveling). Thanks.
Fredo
Now it works fine. It looks like your last fix fixed also the last issue
The only issue which is still there is the one with broken mesh.
Advertisement