Boolean Slice tool
- clintonman
- Captain
- Posts: 5432
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
- Contact:
Boolean Slice tool
Slice tool near the top of the page:
http://www.clintons3d.com/plugins/trues ... index.html" onclick="window.open(this.href);return false;
-
- Senior Chief Petty Officer
- Posts: 170
- Joined: 18 Apr 2010, 15:18
- Type the number ten into the box: 0
- Location: Texas
Re: Boolean Slice tool
I tried this and it just deletes the geometry of the cube I tried, then it leaves an empty object with the new name. (I flattened the cube to a mesh beforehand.)
Right clicking on the object will then cause a crash.
Looks cool, though.
Right clicking on the object will then cause a crash.
Looks cool, though.
a day without orange juice is like... a day without orange juice
Re: Boolean Slice tool
This seems to work for me after I add a Forward slash before Preferences.
If you are wanting the Flatten object to run silently, I had to add an if statement to your script.
Code: Select all
function Execute(params)
{
Node.Value("/Preferences/Dialog settings","Flatten objects") = 0;
if (Node.Value("/Preferences/Dialog settings","Flatten objects") = 0)
{
MeshModifiers.FlattenNodes('')
Node.Value("/Preferences/Dialog settings","Flatten objects") = -1
}
}
- clintonman
- Captain
- Posts: 5432
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
- Contact:
Re: Boolean Slice tool
That makes sense. I think the checkbox is in a weird state by default because it works for me after unchecking it. I'll add the change to the script.trueBlue wrote:This seems to work for me after I add a Forward slash before Preferences.If you are wanting the Flatten object to run silently, I had to add an if statement to your script.
Code: Select all
function Execute(params) { Node.Value("/Preferences/Dialog settings","Flatten objects") = 0; if (Node.Value("/Preferences/Dialog settings","Flatten objects") = 0) { MeshModifiers.FlattenNodes('') Node.Value("/Preferences/Dialog settings","Flatten objects") = -1 } }
- clintonman
- Captain
- Posts: 5432
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
- Contact:
Re: Boolean Slice tool
That's strange. I'll see if I can recreate the problem.Peter wrote:I tried this and it just deletes the geometry of the cube I tried, then it leaves an empty object with the new name. (I flattened the cube to a mesh beforehand.)
Right clicking on the object will then cause a crash.
Looks cool, though.
- clintonman
- Captain
- Posts: 5432
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
- Contact:
Re: Boolean Slice tool
OK, I posted an update.
The disappearing problem was something I forgot to do in the code and only showed when model side was involved.
The dialog setting was a synchronization problem. It would not set and reset reliably from inside the same script as the flatten command, so I moved it to the very start of the process and set it back when the tool is exited. The exiting step still does not stop the message, I think it's because I have one script directly linked to another and the exit script runs too quickly resetting the dialog before the final flatten command.
The disappearing problem was something I forgot to do in the code and only showed when model side was involved.
The dialog setting was a synchronization problem. It would not set and reset reliably from inside the same script as the flatten command, so I moved it to the very start of the process and set it back when the tool is exited. The exiting step still does not stop the message, I think it's because I have one script directly linked to another and the exit script runs too quickly resetting the dialog before the final flatten command.
-
- Senior Chief Petty Officer
- Posts: 170
- Joined: 18 Apr 2010, 15:18
- Type the number ten into the box: 0
- Location: Texas
Re: Boolean Slice tool
Still having probelm:
Workspace Side
Create cube.
Right click to turn it into a mesh.
Right click to get out of edit mode.
Click Boolean Slice Button
Left Click, then see "warning construction history will be removed..." dialog.
Click Yes.
Right Click to exit Boolean Slice mode.
See warning dialog like before.
Click yes.
Cube disappears.
Hope this helps.
Workspace Side
Create cube.
Right click to turn it into a mesh.
Right click to get out of edit mode.
Click Boolean Slice Button
Left Click, then see "warning construction history will be removed..." dialog.
Click Yes.
Right Click to exit Boolean Slice mode.
See warning dialog like before.
Click yes.
Cube disappears.
Hope this helps.
a day without orange juice is like... a day without orange juice
- clintonman
- Captain
- Posts: 5432
- Joined: 21 May 2009, 21:08
- Type the number ten into the box: 0
- Location: California
- Contact:
Re: Boolean Slice tool
Well, you got me stumped. I downloaded the latest from the website to be sure I uploaded the right one, installed it, followed the steps and it works for me. Hopefully, someone else will have an idea.Peter wrote:Still having probelm:
Workspace Side
Create cube.
Right click to turn it into a mesh.
Right click to get out of edit mode.
Click Boolean Slice Button
Left Click, then see "warning construction history will be removed..." dialog.
Click Yes.
Right Click to exit Boolean Slice mode.
See warning dialog like before.
Click yes.
Cube disappears.
Hope this helps.
-
- Senior Chief Petty Officer
- Posts: 170
- Joined: 18 Apr 2010, 15:18
- Type the number ten into the box: 0
- Location: Texas
Re: Boolean Slice tool
Well,
I just can't get this to work right.
I'll just move on.
Thanks anyway.
I just can't get this to work right.
I'll just move on.
Thanks anyway.
a day without orange juice is like... a day without orange juice
Re: Boolean Slice tool
I have seen what Peter has reported but cannot be certain when it happens. Object is unselected in the middle of the operation or not exiting the tool correctly, other wise it seems to work for me. Running silently is not working for me. Disabling the commands in your Widget and Unchecking "Flatten objects" works better for me. I think that those messages has a bug or error. If you select No you will get another message about converting to an Editble Mesh.