sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    [Plugin][WIP] Layers Panel - Behaviour

    Scheduled Pinned Locked Moved Plugins
    5 Posts 2 Posters 2.1k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • jiminy-billy-bobJ Offline
      jiminy-billy-bob
      last edited by jiminy-billy-bob

      See http://sketchucation.com/forums/viewtopic.php?f=323%26amp;t=53906

      25% off Skatter for SketchUcation Premium Members

      1 Reply Last reply Reply Quote 0
      • jiminy-billy-bobJ Offline
        jiminy-billy-bob
        last edited by

        Another question posted in the dev topic :

        Layer colors

        We cannot retreive layer colors from the api, so I won't be able to sync them with the plugin. TIG wrote a workaround to define a layer color by RGB values, but not a material. So that'll be a big limitation of Layers Panel. I personally never use layers color, so I need people to tell me if that's a needed feature, and if they want me to include TIG's code.
        So, to summarize :

        • What's possible : Set a layer color, but only color
        • What's NOT possible : Get existing layer color and display them in the plugin window. Set a material to a layer. And if a color is set by the plugin, it cannot detect change if color is changed in SU's layer window.

        25% off Skatter for SketchUcation Premium Members

        1 Reply Last reply Reply Quote 0
        • jiminy-billy-bobJ Offline
          jiminy-billy-bob
          last edited by

          Layer0

          Do you want to be able to sort and nest the Layer0 like any other layer ? Currently, I made it to stay at the stop, but I can make an option for that if people want to, so you would be able to choose Layer0 behaviour.

          25% off Skatter for SketchUcation Premium Members

          1 Reply Last reply Reply Quote 0
          • jgbJ Offline
            jgb
            last edited by

            @jiminy-billy-bob said:

            Hi !

            But what if you have 1 child layer assigned to 2 child groups nested in 2 different parent groups ? Like this :

            • ParentGroup1 (ParentLayer1)

            • ChildGroup1-1 (ChildLayer1-1)* ChildGroup1-2 (ChildLayer1-2)* ChildGroup1-3 (ChildLayer1-3)

            • ParentGroup2 (ParentLayer2)

            • ChildGroup2-1 (ChildLayer2-1)* ChildGroup2-2 (ChildLayer1-2)* ChildGroup2-3 (ChildLayer2-3)

            Then if you hide ParentLayer1, all of its children are hidden too : ChildLayer1-1, ChildLayer1-2, ChildLayer1-3. Then you get this (Italic is hidden😞

            • *ParentGroup1 (ParentLayer1)

            • ChildGroup1-1 (ChildLayer1-1)* ChildGroup1-2 (ChildLayer1-2)* ChildGroup1-3 (ChildLayer1-3)*

            • ParentGroup2 (ParentLayer2)

            • ChildGroup2-1 (ChildLayer2-1)* ChildGroup2-2 (ChildLayer1-2)* ChildGroup2-3 (ChildLayer2-3)

            Well, that's a problem, ain't it ?

            The only way (that I know of) to assign a comp/group to 2 different layers, regardless of nesting, is to assign the comp/group to one layer and its internal raw geometry to another layer.

            This is a "best practices" NO-NO. πŸŽ‰

            ALL RAW geometry should reside on layer0. Only comps and groups should be assigned to other layers.

            There are a few exceptions for specific purposes, such as descriptive labels, documentation or dimensions contained within the comp/group. In that case you can turn on/off descriptions, doc and dims by assigning all such labels to a single separate, but common layer.
            Then they will be visible only if the comp/group layer is visible.

            There are a few other reasons as well, but great care needs to be taken, or other stuff just disappears when hiding layers.

            So, in answer to your question, it may only be a problem if you assign a layer to raw geometry.

            So yes, I would like to be able to nest layers within other layers, not just layer groups.


            jgb

            1 Reply Last reply Reply Quote 0
            • jgbJ Offline
              jgb
              last edited by

              @jiminy-billy-bob said:

              Layer0

              Do you want to be able to sort and nest the Layer0 like any other layer ? Currently, I made it to stay at the stop, but I can make an option for that if people want to, so you would be able to choose Layer0 behaviour.

              NO ❗ ❗ ❗ Layer0 should remain status-quo.

              "Best Practices" say that layer0 is ALWAYS the current layer, and ALL raw geometry is assigned to it.
              Then you comp or group geometry to keep stuff separate, and assign layers to comps/groups only, to control visibility.

              I learned that the hard way in the beginning of my SU experience.


              jgb

              1 Reply Last reply Reply Quote 0
              • 1 / 1
              • First post
                Last post
              Buy SketchPlus
              Buy SUbD
              Buy WrapR
              Buy eBook
              Buy Modelur
              Buy Vertex Tools
              Buy SketchCuisine
              Buy FormFonts

              Advertisement