Code Monkey home page Code Monkey logo

Comments (16)

adamdehaven avatar adamdehaven commented on June 10, 2024 2

@KevinConsen I initially looked into implementing something along these lines back when you opened the issue, but to be honest, haven't had much time to look into it since (holidays, work, life, etc.). I do very much still think this would be a great add, and as such, have left the issue open.

The biggest usability issue I ran into when playing around with this idea is what to do if an object has multiple colors (e.g. a fill color, and a stroke color) or if the color profile being used (CMYK, RGB, etc.) changed or wasn't consistent. If you find anything else similar/helpful, please feel free to update this issue.

I may have some time in the coming months to look into it. Also, I'm thinking of porting something similar over to Photoshop as I've had lots of requests.

from specify.

adamdehaven avatar adamdehaven commented on June 10, 2024 1

@yuusuf-sallahuddin things like that use-case is what I'm having trouble with. Without looking deeper so far, I feel like the only way to implement this (cleanly) would be to only allow if the object has a single fill color, which somewhat defeats the purpose.

from specify.

KevinConsen avatar KevinConsen commented on June 10, 2024

If it's any help, I can help you brainstorm on how to do something like this.. I have some programming knowledge, but wouldn't be able to write it myself. But perhaps I could serve as a stepping stone to a solution? I'm willing to help any way that I can =]

from specify.

adamdehaven avatar adamdehaven commented on June 10, 2024

Sure thing, I'll keep you posted. With the holidays coming up, it might be a bit before I have time to dig in

from specify.

KevinConsen avatar KevinConsen commented on June 10, 2024

Maybe it helps.. When I added:

alert('The color is' + ' ' + doc.selection[index].fillColor);

in the object at rule 249 ( // Add all selected objects to array) and then ran the script it would pop up the alert and tell me " The color is [CMYKColor]" I'm not quite skilled enough to 'push' any further and internet hasn't been too helpful because I don't know what to google for.

But it seems to be 'close'

from specify.

KevinConsen avatar KevinConsen commented on June 10, 2024

Hi @adamdehaven ,

Hope you had a great holiday season. Any word on my suggestions? Or any way that I can be of help?

from specify.

KevinConsen avatar KevinConsen commented on June 10, 2024

I'd say, at least as a start, just report back the fill color. I don't think that there will be a whole lot of object with a fill color and a stroke if you're using this to specify a design.... And it would be a great start.. Or perhaps specify them separately? I can help you figure out a visual way of how to display it if you'd like and make you an example?

from specify.

yuusuf-sallahuddin avatar yuusuf-sallahuddin commented on June 10, 2024

That is a great idea for an added feature. I am curious how it would work with gradients or pattern fills. I guess you could maybe just report the particular swatch ID or something like that.

from specify.

KevinConsen avatar KevinConsen commented on June 10, 2024

@adamdehaven I'd say that would be a great start. Especially nowadays. A whole lot of designs, especially in illustrator, are single color (material design and other styles). So just being able to specify the (single) fill color would be great and then later find a way to expand.

Also perhaps a similar feature for Fonts? Size, font type, color etc?

I'm very much looking forward to being able to specify colors! If there's anything I can do to be of help, let me know.

from specify.

KevinConsen avatar KevinConsen commented on June 10, 2024

Hi @adamdehaven

Any progress on this feature :D?

from specify.

adamdehaven avatar adamdehaven commented on June 10, 2024

I did recently add the ability to configure the scale of the drawing and modifying the labels accordingly. The color addition you've requested has proven a little more difficult. Still looking into it when time allows.

from specify.

alexleitte avatar alexleitte commented on June 10, 2024

First, it was a very good job! Thank you, guys!

In my opinion, would be great if we could choose a swatch color that already exists in the document, like a TECHNICAL COLOR.

from specify.

adamdehaven avatar adamdehaven commented on June 10, 2024

@alexleitte You can easily change the color of the spec layer by selecting all elements in the layer, and just update the color as desired.

from specify.

alexleitte avatar alexleitte commented on June 10, 2024

@alexleitte You can easily change the color of the spec layer by selecting all elements in the later, and just update the color as desired.

Yeah... I know that... it's just an idea to increase your project into something closer to CadTools, for example.

from specify.

adamdehaven avatar adamdehaven commented on June 10, 2024

Stale. Will reopen if I have time to research or if anyone wants to pitch in.

from specify.

adamdehaven avatar adamdehaven commented on June 10, 2024

@KevinConsen I’m going to reopen this issue and look into it in the near future. I’ve figured out some new functionality and specifying colors would fit in well.

from specify.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.