xml object

Discuss SVG code, accessible via the XML Editor.
c4rl0s
Posts: 3
Joined: Mon Jan 05, 2015 9:20 am

xml object

Postby c4rl0s » Mon Jan 05, 2015 9:24 am

can inkscape create line object poligon object and so becouse when i use pen circle tool algays make path object. there are a way to convert this path into lines???
thanks!!!

v1nce
Posts: 696
Joined: Wed Jan 13, 2010 4:36 am

Re: xml object

Postby v1nce » Mon Jan 05, 2015 10:14 am

I don't understand.
Especially "when i use pen circle tool"

to create polygon use :tool_star: then set the Corners (and other setiings) to fit your needs. The underlying svg of the shape will be a path = a set of moveto (/lineto) x,y = a set of lines.

You want the set to be written as m x,y l x1,y1 then m x1,y1 l x2,y2 instead of m x,y [l] x1,y1 [l] x2,y2 ?

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: xml object

Postby brynn » Mon Jan 05, 2015 5:34 pm

Inkscape doesn't have a type of object called "line" like some other vector editors do. Only paths.

You didn't say much about your interest, so it's hard to guess why you might need "line" objects rather than "path" objects. But with more info, maybe we could make further suggestions?

Lazur
Posts: 4717
Joined: Tue Jun 14, 2016 10:38 am

Re: xml object

Postby Lazur » Mon Jan 05, 2015 9:47 pm

(connector tool)

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: xml object

Postby brynn » Mon Jan 05, 2015 11:05 pm

I see what you mean Lazur, about the Connector tool, and how it looks in the XML Editor, compared to regular paths. But I've seen SVG files which came from other programs, which you select a path, and in the status bar, instead of Path, it says Line. I'm guessing that's what carlos is after, but not sure. In any case, he won't be able to draw a circle with the Connector tool. (well, not very easily anyway.)

Lazur
Posts: 4717
Joined: Tue Jun 14, 2016 10:38 am

Re: xml object

Postby Lazur » Tue Jan 06, 2015 12:39 am

Not sure what's the point with this in the original post.
Line objects cannot be edited right with inkscape's gui as far as I know, which is heavy based on paths.

Probably it's for some final refinement before exporting to another program.


A way to hack this connector tool:
You have your object drawn as a path;
open the xml editor, copy the values at d,
then draw an object with the connector tool, and paste the values into it's d in the xml section; and delete the original path.

Can result in crashes if it's later adjusted with the connector tool on 0.48.

Doubt it would work well on a project, but theoretically it its possible.

c4rl0s
Posts: 3
Joined: Mon Jan 05, 2015 9:20 am

Re: xml object

Postby c4rl0s » Tue Jan 06, 2015 4:34 am

hi!! thanks by your help.

yes i need the line,poligon object to work with another program doing video mapping.
well the thing is for me is interesting this kind of object becouse i take the field data and use it directly i have worked with svg files from internet and i was trying to do my own with inkscape but never appear this kind of object i will try looking in another open source programs like free cad if someone have some suggestion about open source program that generate svg files with lines,circle,and poligon object i will hear.

but totally thanks about your responses!!!!

hulf2012
Posts: 716
Joined: Sat Nov 24, 2012 12:37 pm

Re: xml object

Postby hulf2012 » Tue Jan 06, 2015 5:45 am

Hello
I'm interested in knowing what program are you using, and what do you mean when you say video mapping.

If you talk about white-board animations, I understand videoscribe can accept SVG paths, like those used on inkscape.

Libre Office Draw also use SVG format.

I think that a path element can be transformed to a polyline element, using scripts, at least in teory.

More about svg elements, and svg in general:
http://tutorials.jenkov.com/svg/path-element.html
If you have problems:
1.- Post a sample (or samples) of your file please.
2.- Please check here:
http://tavmjong.free.fr/INKSCAPE/MANUAL/html/index.html
3.- If you manage to solve your problem, please post here your solution.

c4rl0s
Posts: 3
Joined: Mon Jan 05, 2015 9:20 am

Re: xml object

Postby c4rl0s » Tue Jan 06, 2015 10:23 am

hi hulf 2012 i am using vvvv here you have the link to the platform comunity
http://vvvv.org
and when i say video mapping is this kind of work(proyections that are adapted to real world for make visual effect) https://vine.co/v/bU53eJ6APqJ

i will check tomorrow libre office too. thanks!

thailandesejour
Posts: 1
Joined: Wed Jan 28, 2015 8:13 pm
Location: FRANCE

Re: xml object

Postby thailandesejour » Wed Jan 28, 2015 8:27 pm

A Dataset is a bushel that stores information got from information source .This information source can likewise be XML archive .there may be distinctive kind of dataset wrote or untyped. A wrote dataset comprises of XML blueprint .however untyped dataset doesn't have this sort of composition in it. There are such a large number of gimmicks that are profit in written dataset much the same as we can change XSD record. XML mapping is simply like wrote dataset representation and both are accessible as XSD records. When we store XML record into a Dataset XML blueprint approve the information that is gotten from XML report.

The XML pattern contains entire data about the connection structure .It contains data in regards to table, requirements and connection .In .NET XSD record is utilized to gernate information for the Dataset objects .There are distinctive protest that contains routines that empowers you to work with XML information . We can likewise utilize Ado.net to exchange information between XML records and dataset objects .This Ado.net helps us to compose dataset information as XML additionally serves to view XML outline and XML report.

CONTACT ME AT : MY WEBSITE


Return to “SVG / XML Code”