![]() |
#1 |
Senior Member
Professional user
Join Date: Nov 2007
Posts: 139
|
![]()
Lately I've been thinking about some features it would be great to have in AC3D to help in preparing models for 3D printing:
I am hoping to gain some free time in the near future to work on these things. If someone would like to step-up to mentor my on the internals of AC3D, that would be great. There are also some things I don't have an idea how to solve:
|
![]() |
![]() |
![]() |
#2 |
Senior Member
Professional user
Join Date: Nov 2007
Posts: 139
|
![]()
Is it possible to switch selection modes from C++? I don't see a prototype in the SDK header but see a few candidate functions in the binary:
I assume I should do something like: add_undoable_change_select_mode("My Plugin thing"); set_select_mode(SELECT_SURFACE); But I don't know what the prototype should look like or which of the 4 sets is the 'best' to use? Thanks, Ron (Extrude by normal switches to surface mode and leaves the new surfaces selected. I would like to emulate that. Also, in the watertightness plug-in I would like to switch to surface mode and leave any "bad" surfaces selected.) Last edited by jentron; 14th December 2013 at 02:06 PM. |
![]() |
![]() |
![]() |
#3 | |
Administrator
Professional user
Join Date: Jun 2003
Posts: 4,537
|
![]()
You should probably use this one:
Prototype void add_undoable_change_select_mode(int newmode, char *undotext) // remembers selection and changes to new mode Quote:
|
|
![]() |
![]() |
![]() |
#4 |
Senior Member
Professional user
Join Date: Aug 2005
Posts: 203
|
![]()
Having a plugin that could essentially smoke test a mesh to see if it were ready for 3D printing would definitely be something I'd be interested in.
Something that could determine if a mesh was water tight and then automatically ensure that all of the surfaces were facing out correctly would be very useful indeed.
__________________
It is by caffeine alone that I set my mind in motion. It is by the syrup of cola that thoughts acquire speed, the ears acquire ringing, the ringing becomes a warning. It is by caffeine alone that I set my mind into motion. |
![]() |
![]() |
![]() |
#5 |
Senior Member
Professional user
Join Date: Nov 2007
Posts: 139
|
![]()
Edymnion,
I have a plug-in now that selects leaky surfaces. When I ran it on the Tardis model you uploaded it pointed out several leaky edges: The dome light had a few "extra surfaces." I know Shapeways.com doesn't like those. The right side vertical panels had a vertex that didn't connect to the horizontal panel. The handles didn't have surfaces on their rears. If you'd like a copy of the source code, let me know. Ron |
![]() |
![]() |
![]() |
#6 |
Administrator
Professional user
Join Date: Jun 2003
Posts: 4,537
|
![]()
Sounds great - Yes please!
|
![]() |
![]() |
![]() |
#7 |
Senior Member
Professional user
Join Date: Nov 2007
Posts: 139
|
![]()
https://gitorious.org/ac3d-plugins/watertight
Includes watertight.cpp and a Linux makefile. With thanks to Dennis Hawthorne for selcon. |
![]() |
![]() |
![]() |
#8 |
Senior Member
Professional user
Join Date: Aug 2005
Posts: 203
|
![]()
Excellent, gratci!
__________________
It is by caffeine alone that I set my mind in motion. It is by the syrup of cola that thoughts acquire speed, the ears acquire ringing, the ringing becomes a warning. It is by caffeine alone that I set my mind into motion. |
![]() |
![]() |
![]() |
#9 |
Senior Member
Professional user
Join Date: Nov 2007
Posts: 139
|
![]()
Andy wrote:
"AC3D 7.2 also includes Ron Jensen's plugin for checking the integrity of an object prior to 3D printing." I guess I'm (in)famous now. ![]() |
![]() |
![]() |
![]() |
#10 |
Senior Member
Professional user
Join Date: Aug 2005
Posts: 203
|
![]()
Been using this one a lot with my latest project. If for nothing else, its awesome at finding places where I extruded a surface and it left behind a wall inside the model that I didn't see (which proceeds to wreak havoc when subdividing).
__________________
It is by caffeine alone that I set my mind in motion. It is by the syrup of cola that thoughts acquire speed, the ears acquire ringing, the ringing becomes a warning. It is by caffeine alone that I set my mind into motion. |
![]() |
![]() |
![]() |
Thread Tools | |
Display Modes | |
|
|