Search found 39 matches

by draftman
Mon Oct 14, 2019 7:27 am
Forum: Programming
Topic: Extension text
Replies: 5
Views: 463

Re: Extension text

I decided to use ( 'font-size': Fontsize * .65,) and ( y-(Fontsize*.35)) instead. This is stable and more flexible, but you have to start a new string every time you need a superscript. It would be nice to keep it all in one string, but for what I'm using it for this works fine. I read somewhere tha...
by draftman
Sun Oct 13, 2019 2:44 pm
Forum: Programming
Topic: Extension text
Replies: 5
Views: 463

Re: Extension text

Spoke too soon.
It only works if document properties/units = px and scale = 1.
by draftman
Fri Oct 04, 2019 5:44 am
Forum: Programming
Topic: Extension text
Replies: 5
Views: 463

Re: Extension text

Thanks Moini,
I used the xlm editor in inkscape and realized baseline-shift was a style attribute. So I added "baseline-shift":"super", to the style and it works
by draftman
Wed Oct 02, 2019 11:53 am
Forum: Programming
Topic: Extension text
Replies: 5
Views: 463

Extension text

I need my extension to create a superscript. I know SVG supports This, but I don't know how to write it in an extension. Here's a sample of what I'm trying to do. (var2 needs to be a superscript) leng = str (int(var1)) + str(var2) t='rotate(%f,%f,%f) matrix(1,0,0,1,0,-%f)' % (deg,x,y,0) self.addText...
by draftman
Thu May 30, 2019 10:32 am
Forum: Inkscape Resources
Topic: [Extension] Architectural Dimensions
Replies: 6
Views: 4820

Re: [Extension] Architectural Dimensions

brynn,

I'm just testing the water right now. If it looks like there is enough interest I will.
Can you post a group of extensions (like 5 or 6) there?
by draftman
Thu May 30, 2019 10:19 am
Forum: Inkscape Resources
Topic: [Extension] Architectural Dimensions
Replies: 6
Views: 4820

Re: [Extension] Architectural Dimensions

ragstian,

Yes, I do have a metric version. I need to update it for .92.
Give me a couple days and I'll post it here
by draftman
Wed May 29, 2019 7:39 am
Forum: Inkscape Resources
Topic: [Extension] Architectural Dimensions
Replies: 6
Views: 4820

[Extension] Architectural Dimensions

I made this extension for my own use , and was curious if any one else would have a need for it . This version is made to work in Inkscape.92, and uses Imperial measurements (feet, inches, fractions). How it works: select the Bezier tool. While drawing a line, snap to points you wish to measure from...
by draftman
Sun Mar 19, 2017 11:03 am
Forum: Programming
Topic: Inkscape .92 debug
Replies: 2
Views: 2749

Re: Inkscape .92 debug

thanks tylerdurden.
That worked!
And thanks for the link.
by draftman
Sun Mar 19, 2017 7:18 am
Forum: Programming
Topic: Inkscape .92 debug
Replies: 2
Views: 2749

Inkscape .92 debug

When I use inkex.debug in my extensions it returns units in mm not px.
My question is, why, and can it be fixed?
by draftman
Tue Sep 06, 2016 4:02 pm
Forum: General Discussions
Topic: Architectural drawings?
Replies: 14
Views: 15675

Re: Architectural drawings?

Hi Phil, Good question, The cons - Inkscape dose not render in 3D. If you need 3D use SketchUp. SketchUp has more drafting friendly tools. Extensions can be made to take there place. Most ot the time they work better, but are more limiting. If you're coming from a CAD background, inkscapes flexibili...
by draftman
Mon Aug 01, 2016 9:47 am
Forum: General Discussions
Topic: Architectural drawings?
Replies: 14
Views: 15675

Re: Architectural drawings?

Here it is.
The new and improved Dimensions Line Metric.
I included the old directions (the new extension looks different but works just the same).
The directions are a svg file, so just open them in Inkscape.
by draftman
Sun Jun 19, 2016 6:14 am
Forum: Programming
Topic: Retrieve a selected groups x, y coordinates?
Replies: 4
Views: 4904

Re: Retrieve a selected groups x, y coordinates?

Thanks, Moini.
I'll take a look at those extensions , and see if I can figure it out.
by draftman
Fri Jun 17, 2016 5:30 pm
Forum: General Discussions
Topic: Architectural drawings?
Replies: 14
Views: 15675

Re: Architectural drawings?

Thanks for your input. The numbers should be on top of the measurement line. I used my backup version to make this extension, and I think I forgot to hit save last time I worked on it. Anyway , it's an easy fix. As far as the double print, and the measurement line bypass...Well not so easy. A while ...
by draftman
Fri Jun 17, 2016 2:06 pm
Forum: Programming
Topic: Retrieve a selected groups x, y coordinates?
Replies: 4
Views: 4904

Re: Retrieve a selected groups x, y coordinates?

Hi Moini. Yes I did see simpletransform / boxunion, roughBBox, refinedBBox. I just don't know how to access it. Or what to access. I'm guessing it should look something like this. import simpletransform bbox = simpletransform.refineBBox(node.get('path')) x = bbox [0] [0] [1] [0] And what is xmin, an...
by draftman
Thu Jun 16, 2016 9:33 am
Forum: Programming
Topic: Retrieve a selected groups x, y coordinates?
Replies: 4
Views: 4904

Retrieve a selected groups x, y coordinates?

I'm making a python extension, and need the extension to retrieve a selected groups x, y coordinates.
I think this can be done with the bounding box, but I don't know how to do it.
if there's any other way of doing it I'm all ears.
by draftman
Tue Jun 14, 2016 11:43 am
Forum: Personal discussions
Topic: Hello. Interested in making maps.
Replies: 3
Views: 7218

Re: Hello. Interested in making maps.

You might want to check out O-Skape Extensions.
Not sure if it's updated for Inkscape .91, but I know it works in Inkscape .48.
http://www.nopesport.com/news/1343-o-scape-free-orienteering-mapping-software
https://sourceforge.net/projects/o-scape/
by draftman
Sun Jun 12, 2016 7:05 am
Forum: General Discussions
Topic: Architectural drawings?
Replies: 14
Views: 15675

Re: Architectural drawings?

Here's the converted extension.
The directions are a svg file, and you should be able to open it in inkscape .
Hope this works.
Let me know what you think.
by draftman
Tue Jun 07, 2016 1:04 pm
Forum: General Discussions
Topic: Architectural drawings?
Replies: 14
Views: 15675

Re: Architectural drawings?

Did not know you could post zip files here.

Next weekend I should have some time to do it.

Talk to you then,
Good morning.
by draftman
Tue Jun 07, 2016 12:25 pm
Forum: General Discussions
Topic: Architectural drawings?
Replies: 14
Views: 15675

Re: Architectural drawings?

Ok, this could be fun! If you're interested, I would like to convert one of my extension to metric, and let you try it. Only problem is I do not have any way to make my extensions downloadable. If you know how to use a text editor, I can post the code here and you can copy and paste it into your edi...
by draftman
Tue Jun 07, 2016 9:47 am
Forum: General Discussions
Topic: Architectural drawings?
Replies: 14
Views: 15675

Re: Architectural drawings?

Checked out your thesis, very nice! I don't know if any of my extensions would be of any use to you. There all in feet and inch scales. but if there's enough interest I could convert them to metric. what are the common metric scales used in architectural plans ? The Cad tool thing was some time ago ...
by draftman
Mon Jun 06, 2016 1:25 pm
Forum: General Discussions
Topic: Architectural drawings?
Replies: 14
Views: 15675

Architectural drawings?

I'm a construction contractor in the U.S., and a few years ago I needed to draw some computer plans for a client. So, I looked for a CAD program to use to draw them. What I found was... - A few wonderful programs that cost thousands of dollars (out of my price range). - A lot of inexpensive or free ...
by draftman
Thu Jun 02, 2016 3:38 am
Forum: Programming
Topic: retrieve an extensions textbox input as a list?
Replies: 4
Views: 2283

Re: retrieve an extensions textbox input as a list?

Thanks, Moini.
I did not know about split. Looks very useful.
I'll have to give it a try and see how it works.
by draftman
Wed Jun 01, 2016 8:23 am
Forum: Programming
Topic: retrieve an extensions textbox input as a list?
Replies: 4
Views: 2283

retrieve an extensions textbox input as a list?

Is it possible to retrieve an extensions textbox input as a list? Tried this and got this error ,( ValueError: invalid literal for int() with base 10: '6 , 2'). inx <param name=" List " type="string" _gui-text=" List ">0</param> py self.OptionParser.add_option("--L...
by draftman
Sun May 29, 2016 7:21 am
Forum: Discuss Software Issues
Topic: Measure tool crash
Replies: 6
Views: 2758

Re: Measure tool crash

I think I found it. Type-o in the UI, my bad.
thanks for the help!
by draftman
Sun May 22, 2016 3:45 am
Forum: Discuss Software Issues
Topic: Measure tool crash
Replies: 6
Views: 2758

Re: Measure tool crash

Thanks, Brynn I'm wondering if anyone else has had this problem, because I've installed a few new units in inkscapes UI and inkex. These units have been installed ever since I've downloaded inkscape .91, and I have had no problems till now. These crashes are rare so it's hard to tell what is causing...

Go to advanced search