• Website
  • Search
  • Member List
  • Help
  • Old Forum
  • Social Media
    •   @Wings3dOfficial
    •   @Wings3dOfficial
    •   Wings3dOfficial
    •   Wings3dOfficial
  • Register
  • Login
  • Website
  • Search
  • Member List
  • Help
  • Old Forum
  • Register
  • Login
Wings 3D Development Forum Wings 3D Design & Development v
« Previous 1 2 3 4 5 … 11 Next »
unfold

Poll: do you think unfolding would be a nice addition to Wings?
You do not have permission to vote in this poll.
Absolutely
100.00%
3 100.00%
Not at all
0%
0 0%
What are you talking about?
0%
0 0%
Total 3 vote(s) 100%
* You voted for this item. [Show Results]

 
  • 0 Vote(s) - 0 Average
unfold

engrenage
Offline

Junior Member

Posts: 44
Threads: 13
Joined: Sep 2020
#6
09-06-2020, 03:40 PM (This post was last modified: 09-06-2020, 04:02 PM by engrenage.)
a tad simpler:

Code:
faceX_clicked() // event-based I suppose?

is it connected to two or more faces present in the tree?
{
   // connect where?
   request from user: FACE = select_face()
   if FACE not in unfold_tree: try again (or make new group)
} else is it connected to another face present in unfold_tree? {
    FACE = that face (in the tree) it is connected to
} else {
   make new group (set label and color, else random)
   return
}

what edge connects the two faces? add this edge and its position to fold_list, mark it as a fold in the output.

add faceX to unfold_tree and compute its position ; output can be generated on-the-fly for all edges of faceX that are not part of fold_list

update face color and edge colors in the 3D model view ; color faces by first-level branch (group) and edges by unset/cut/fold

note: ideally, the angle of each fold should be included in an "assembly instructions" file, while the output file only contains the cuts.

output outline must be a single continuous path.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Messages In This Thread
unfold - by engrenage - 09-03-2020, 09:51 AM
RE: unfold - by micheus - 09-03-2020, 09:35 PM
RE: unfold - by engrenage - 09-06-2020, 09:12 AM
RE: unfold - by engrenage - 09-06-2020, 11:09 AM
RE: unfold - by engrenage - 09-06-2020, 12:28 PM
RE: unfold - by engrenage - 09-06-2020, 03:40 PM
RE: unfold - by micheus - 09-07-2020, 04:12 PM
RE: unfold - by engrenage - 09-07-2020, 09:24 PM
RE: unfold - by micheus - 09-08-2020, 12:22 AM
RE: unfold - by engrenage - 09-13-2020, 10:10 AM
RE: unfold - by micheus - 09-13-2020, 05:34 PM
RE: unfold - by engrenage - 09-19-2020, 10:25 AM
RE: unfold - by gilboonet - 09-19-2020, 04:24 PM
RE: unfold - by micheus - 09-21-2020, 05:46 PM
RE: unfold - by gilboonet - 09-22-2020, 06:53 AM
RE: unfold - by engrenage - 10-15-2020, 10:42 AM
RE: unfold - by engrenage - 10-15-2020, 11:11 AM
RE: unfold - by engrenage - 10-15-2020, 04:18 PM
RE: unfold - by engrenage - 10-15-2020, 05:30 PM
RE: unfold - by micheus - 10-15-2020, 06:36 PM
RE: unfold - papercraft-maker web site - Pepakura - by ssmeier - 10-15-2020, 08:59 PM
RE: unfold - by micheus - 10-15-2020, 09:11 PM
RE: unfold - by engrenage - 10-17-2020, 12:13 PM
RE: unfold - by micheus - 10-17-2020, 02:28 PM
RE: unfold - by micheus - 10-20-2020, 06:18 AM
RE: unfold - by engrenage - 10-22-2020, 05:30 PM
RE: unfold - by micheus - 10-23-2020, 09:55 PM
RE: unfold - by engrenage - 11-03-2020, 03:28 PM
RE: unfold - by engrenage - 11-10-2020, 11:31 AM
RE: unfold - by micheus - 11-10-2020, 12:12 PM
RE: unfold - by engrenage - 12-17-2020, 10:58 AM
RE: unfold - by engrenage - 06-06-2021, 05:07 PM
RE: unfold - by micheus - 06-06-2021, 07:45 PM

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D - Powered by MyBB

Linear Mode
Threaded Mode