Yes, you can do this insideĀ Inkscape, but this will require someĀ digging.
Select a pattern-filledĀ shape in your drawing. Open theĀ XML Editor dialog [shift+ctrl+x]. The style attribute will include some text likeĀ fill:url(#pattern2178)Ā which tells you the id of the pattern. NowĀ navigate to the "defs" section of the document. This is near the top of the XML nodeĀ list. In my case it looks like <svg:defs id="defs2">.
Expand this and look for svg:pattern id=pattern2178. This element can have two different forms.Ā There may beĀ sub-elements comprising the svg objects in the pattern, or thereĀ may be an attribute linking to another pattern id such asĀ xlink:href #pattern2172. If it's the latter, follow the link to thatĀ pattern id in "defs". Expand it again and there you should find the svg objects.
Now that you've located the basic elements of the pattern, you can change the fill colour, stroke weight, dashes, etc. for each. Use the Fill and Stroke dialog [shift+ctrl+f] to copy hex colour values from another shapeĀ in your drawing and paste them into the XML Editor for your pattern objects.
Thank you both for the help, @Polygon i didnt even know 1.3 was out, and only just 2 days ago i found out 1.2 even existed @Paddy_CAD, thank you for your help but im tooĀ afraid to edit codingĀ š
I recently figured out how to install the mechanical pattern fill(Patterns for mechanical drawings in Inkscape - Inkspace the Inkscape Gallery | Inkscape), though now i want to find a way to change the colour of the pattern fill as need be, is their any way? preferably without editing files with notepad
In 1.3alpha you can alter the color directly (not exactly every pattern) in the dialog:
Ā
In your case I“d try Filters->Colors->Duochrome or Colorize
Yes, you can do this insideĀ Inkscape, but this will require someĀ digging.
Select a pattern-filledĀ shape in your drawing. Open theĀ XML Editor dialog [shift+ctrl+x]. The style attribute will include some text likeĀ
fill:url(#pattern2178)
Ā which tells you the id of the pattern. NowĀ navigate to the "defs" section of the document. This is near the top of the XML nodeĀ list. In my case it looks like<svg:defs id="defs2">
.Expand this and look for
svg:pattern id=pattern2178
. This element can have two different forms.Ā There may beĀ sub-elements comprising the svg objects in the pattern, or thereĀ may be an attribute linking to another pattern id such asĀxlink:href #pattern2172
. If it's the latter, follow the link to thatĀ pattern id in "defs". Expand it again and there you should find the svg objects.Now that you've located the basic elements of the pattern, you can change the fill colour, stroke weight, dashes, etc. for each. Use the Fill and Stroke dialog [shift+ctrl+f] to copy hex colour values from another shapeĀ in your drawing and paste them into the XML Editor for your pattern objects.
Thank you both for the help, @Polygon i didnt even know 1.3 was out, and only just 2 days ago i found out 1.2 even existed
@Paddy_CAD, thank you for your help but im tooĀ afraid to edit codingĀ š