Printable Version | Subscribe | Add to Favourites
New Topic New Poll New Reply
Author: Subject: User editable drawings
nick205

posted on 11/5/17 at 01:53 PM Reply With Quote
User editable drawings

Afternoon all,

I'd like to create a drawing where the user can edit certain parts.

Think in terms of an overhead view of a keyboard layout where the user can...

1. Select the colour of each keycap from a preset selection of 10 colours
2. Enter text on the top of each keycap using a preset selection of 10 fonts
3. Select the font size in mm from a preset selection of 5 sizes

There's other features I'd like to include, but the above would be a good starting point.

Finally the drawing should be in a file format most people can access - e.g. MS Word, PDF etc.

View User's Profile View All Posts By User U2U Member
prawnabie

posted on 11/5/17 at 02:21 PM Reply With Quote
quote:
Originally posted by nick205
Afternoon all,

I'd like to create a drawing where the user can edit certain parts.

Think in terms of an overhead view of a keyboard layout where the user can...

1. Select the colour of each keycap from a preset selection of 10 colours
2. Enter text on the top of each keycap using a preset selection of 10 fonts
3. Select the font size in mm from a preset selection of 5 sizes

There's other features I'd like to include, but the above would be a good starting point.

Finally the drawing should be in a file format most people can access - e.g. MS Word, PDF etc.


Knock yourself out bud.....

[Edited on 11/5/17 by prawnabie]

View User's Profile View All Posts By User U2U Member
nick205

posted on 11/5/17 at 02:53 PM Reply With Quote
...as in "no chance of doing it"?

I'll admit to having tried a few things and failed, but there must be a way of doing this (or similar).

View User's Profile View All Posts By User U2U Member
Nathsx

posted on 11/5/17 at 04:00 PM Reply With Quote
Its definatly possible however i think it would need to be a Flash/.exe/ Vb code job to be honest.

It could be done on excel fairly easily i think if it doesnt need to look fancy

View User's Profile View All Posts By User U2U Member
prawnabie

posted on 11/5/17 at 04:06 PM Reply With Quote
quote:
Originally posted by nick205
...as in "no chance of doing it"?

I'll admit to having tried a few things and failed, but there must be a way of doing this (or similar).


No you made a statement more than a question!

View User's Profile View All Posts By User U2U Member
nick205

posted on 11/5/17 at 04:08 PM Reply With Quote
quote:
Originally posted by Nathsx
Its definatly possible however i think it would need to be a Flash/.exe/ Vb code job to be honest.

It could be done on excel fairly easily i think if it doesnt need to look fancy



Coding's really not for me.

I may well have a stab with Excel though.

Flash looks would be lovely, but a use-able tool that works would probably help sell more stuff. If I can do that I may well be able to justify having a more professional system done.

View User's Profile View All Posts By User U2U Member
nick205

posted on 11/5/17 at 04:24 PM Reply With Quote
quote:
Originally posted by prawnabie
quote:
Originally posted by nick205
...as in "no chance of doing it"?

I'll admit to having tried a few things and failed, but there must be a way of doing this (or similar).


No you made a statement more than a question!


Noted!

I guess I'm looking for pointers on how to go about doing this?

View User's Profile View All Posts By User U2U Member
pekwah1

posted on 11/5/17 at 04:26 PM Reply With Quote
for anyone who knows Visual Basic (i happen to), this sounds like a fairly simple program to code depending on exact requirements....
View User's Profile E-Mail User View All Posts By User U2U Member
craigdiver

posted on 11/5/17 at 09:26 PM Reply With Quote
Excel & visual basic.

Might be a bit tricky if you have never programmed however visual basic is easy to learn with tons of excellent resources on the net.





If it ain't broken, fix it anyway (just because).

Building - BMW powered Haynes Roadster/442E hybrid.

Volvo C30 T5 Polestar

View User's Profile View All Posts By User U2U Member
dgu

posted on 12/5/17 at 05:17 AM Reply With Quote
You could create this tool as a simple web page.

On one side of the page you could have the form for the user to fill in the variables. On the other, the drawing with the editable data.

A bit like this tool:

http://www.cssmatic.com/border-radius

Anyone will be able to view it and use it on a web browser.

You’d need to learn a bit of HTML, CSS and Javascript. You can find a good getting started guide here:

https://www.w3schools.com/


If your background drawing is also editable, you’d need to learn about the HTML ‘canvas’ element. Or scalable vector graphics (SVG). Here’s a good example of what is possible:

http://www.williammalone.com/articles/create-html5-canvas-javascript-drawing-app/


I can code websites, so if you have any questions, feel free to ask…

View User's Profile View All Posts By User U2U Member
02GF74

posted on 12/5/17 at 06:07 AM Reply With Quote
^^^ as said, html page, one additional complucation is needing to save settings. Still need some coding in javascript but can be run by anyone with browser.

Is it a computer/typewriter keyboard, if not, is layout in regular matrix or staggered like type writer?

How many keys and are they same shape?

[Edited on 12/5/17 by 02GF74]






View User's Profile View All Posts By User U2U Member
nick205

posted on 12/5/17 at 11:26 AM Reply With Quote
Thanks chaps - I'll take a look.

It's for a regular PC type keyboard with a mix of size and shape keys.

View User's Profile View All Posts By User U2U Member

New Topic New Poll New Reply


go to top






Website design and SEO by Studio Montage

All content © 2001-16 LocostBuilders. Reproduction prohibited
Opinions expressed in public posts are those of the author and do not necessarily represent
the views of other users or any member of the LocostBuilders team.
Running XMB 1.8 Partagium [© 2002 XMB Group] on Apache under CentOS Linux
Founded, built and operated by ChrisW.