s-leger / archipack

Archipack for blender 2.79
https://blender-archipack.org
GNU General Public License v3.0
360 stars 50 forks source link

allow to make linked and non-linked duplicates #7

Closed mirlip closed 7 years ago

mirlip commented 7 years ago

Shift+D and Alt+D could create non-linked and linked duplicates of the parametric objects. Linked one would use the same values (dimensions, angles, etc.) so that modifying one instance would change all the other. For this, a customisable preset system would maybe be the best. It would also allow to reuse for example a window in several projects.

s-leger commented 7 years ago

Yes, A preset system need becomes more obvious with stair and the tons of variables you are able to setup.

Archipack objects are build from scratch to support ALT + D and Shift + D. Copy to selected is also fully supported.

A refresh button does appair on linked ones to keep missing parts in synch just after duplicate. Also an unlink button does show on linked objects to make unlinked ones.

Relink objects data to get linked ones does also work. For multi-sub objects like doors and window, the base object to link is the frame.

mirlip commented 7 years ago

Awesome :) I selected the Boolean object to duplicate, that was the reason. This is why I think only one object should be selectable. It works indeed really well. Some remarks:

location: :-1



I had some other bugs, I'll try to make them reproducible and provide the needed files.
mirlip commented 7 years ago

Should I close this ticket and open one for the bug and another one about presets ?

s-leger commented 7 years ago

Seem i allredy fixed this bug, should investigate about it a bit.

A bug report open for the way linked windows are growing when manipulated from wall.

The wall takes care of windows and doors alignment and depth when autoboolean is used and when wall does change. I left the pivot intentionnaly at center so you are able to flip direction easly with a r+z+180

mirlip commented 7 years ago

Really helpful to have windows and doors aligned automatically to walls. It could allow to have doors and windows to flip with inside/outside of the wall automatically.

s-leger commented 7 years ago

It does allready with respect to the side they are facing. As long as pivot is near wall (by a factor of 2*wall depth) the tool takes care of alignment and depth. If you see the demo video, you'll notice i'm simply slapping the door over the wall and that's it. It's no so obvious as i show how stair works in the between.

s-leger commented 7 years ago

Preset system for styles implemented, will be part of 1.2 release Fixed context bug